How does Socialblade index YouTube channels and extract the data they need? - youtube

I was wondering how the website, http://socialblade.com indexed YouTube channels and extracted their daily views so the could input them on their website.
I can't provide much more detail because i'm unsure of how their process actually works.
How would i go about doing/creating something similar?

Maybe too late... but you can google "web crawling" or "web scraping". It's a technique to extract data from any web site. There are several tools to help you to do it. Try it.
Bye

Related

How to extract a live youtube chat information?

I'm aware that google has an api for youtube live chat and statistics, but to avoid all the auth and tokens, I'm looking for a much simpler solution to read and process the live chat messages, without the need to auth. This website is able to show the live like counter and views without the need to authenticate (https://youtubelikecounter.com)
Youtube has the option to open in a new window the live chat, and I think, by expecting the elements of that window, that there must be a simpler solution for that, I just can't find out how. Any suggestions?
I've been trying to get google auth to work, but it seems to be much more complicated than just reading the website information.
Without any kind of authentification you can get the number of viewers of a live thanks to item["liveStreamingDetails"]["concurrentViewers"] https://yt.lemnoslife.com/noKey/videos?part=snippet,liveStreamingDetails&id=VIDEO_ID you can also access to the number of views and likes respectively in item["snippet"]["viewCount"] and item["snippet"]["likeCount"]
Then thanks to item["liveStreamingDetails"]["activeLiveChatId"] you can access in the same way the livestream chat: https://yt.lemnoslife.com/noKey/liveChat/messages?part=snippet,authorDetails&liveChatId=LIVE_CHAT_ID

Is it possible to use the YouTube API to automatically create a comment when a new YouTube video is uploaded?

I am working on a personal program to use with my Google account. I don't have a custom website or domain to use. Basically, the idea of my request was to create a personal bot that would comment "First" on a video as a joke between my friends. I looked into the YouTube API a bit, but I got differing answers on the capabilities of the v3 data API. I found the commentThread page but am also confused about its usage. If anyone could give me a basic idea on if this project is possible, I would love to hear it.
welcome to Stack Overflow!
As you said, you want to create a comment when a video uploaded. YouTube has provide the webhooks for this.
You can see the docs push_notifications. I think that is what you want. :)

YouTube API derived data

I'm working on a application which would gather YouTube user's video data and create some meaningful data and metrics to help the creators market their videos better and expand their audience.
The problem is that since December 18, if I'm not wrong, this kind of practice is forbidden.
Can someone from Google comment and explain this change? Why can't I create metrics based on YouTube data, even if I visibly communicate that this is not data from YouTube?
For example: I would like to fetch users video description and tell what's the keyword density, how well is it prepared for SEO (in % or something).
And I guess that this new term destroys many businesses which are doing exactly that thing, creating meaningful data based on YouTube API. (Tubular, TubeBuddy, VidIQ).
Please! Anyone?

Labview to google spreadsheet information transfer

I have been using LabVIEW to collect measurement data, and I would like to know if it is possible for LabVIEW to communicate the results to a Google Spreadsheet. If so, where could I find resources to learn how to make LabVIEW transmit information to the Google Spreadsheet ?
Thanks!
EDIT AND FOLLOW-UP- I used Jonathan's suggestion below and experimented with the LabVIEW http Post.vi. It's very simple, all you need to do is enter the URL of the Google form (replacing the final "viewform" with "formResponse") and a string with the data you want to enter (with rough syntax = ). A big thanks for that answer, it was really helpful !
However, when I try to use this method for a Google form with more than one page, the data isn't read properly... The form is still sent but every field not present on the first page of the form remains blank on the Spreadsheet. I feel that this is somehow linked to the fact that in the Google form, the URL of all the pages after page 1 are the URL of page 1 with the final "viewform" replaced with "formResponse". Is this what is causing the error or is it something else altogether, and how can I fix it ?
I can think of two ways to do this:
You can create a form in google spreadsheets. The form appears as an html document with standard tags. From here, I would use labview's http functionality to submit data to that form using a POST request. This would be the easiest way to get data in there.
Using the Google Apps API, you can manipulate google spreadsheets and dump data in there directly. This is going to be more complicated in terms of development time, but more configurable in the long run. https://developers.google.com/google-apps/spreadsheets/#what_can_this_api_do There are .net and java code examples throughout the documentation, so it would take some work to port this to LabVIEW, but it could be done.

search for and embed youtube videos in ruby on rails application

I have a website where I want to basically allow people to display several youtube videos onto the same page.
For example, I have a friend who has 3 different videos. Instead of sending a link to the three videos individually, they would go to my site see the 3 search boxes, search for the videos individually (the search is done on youtube), then they can pick the videos and click "done", at which point, the 3 videos would be embedded on their page.
I'm trying to figure out how to approach this in ruby on rails, but I'm not finding much information on how.
Here's a link from 2009 of a guy who's saying that he can actually do the search and retrieve from youtube: http://railsforum.com/viewtopic.php?id=30443
But I don't know how to do the search & retrieve, and I don't know how to do the embed. I think I can figure out the embed, but what's the best way to do the search/display results?
Thanks a lot for your help stackoverflow, you're my only hope (besides google, but google failed me today).
all you need to know about the search feature is described in YouTube Data Api. You will need your app to communicate with this API. The best thing to do may be to look after a gem specialized in this ; there is a list available in another StackOverflow question.

Resources