[TUTORIAL]Get YouTube Video Infos
Posted: Thu Apr 21, 2011 2:07 am
Hey Guys,
normally i dont wanted to Release this Codes since i wanted to keep it for my New YouTube Downloader but Ok...
Be sure you have a WebBrowser and it navigates to the Video from YouTube then add Textbox,Label or whatever and insert the Code u need ...
Example: Label1.Text= HERE THE CODE
Thanks!
Greetz Our Napster
normally i dont wanted to Release this Codes since i wanted to keep it for my New YouTube Downloader but Ok...
Be sure you have a WebBrowser and it navigates to the Video from YouTube then add Textbox,Label or whatever and insert the Code u need ...
Example: Label1.Text= HERE THE CODE
Code: Select all
Hope it Helps u Guys...when using it in your Application then please add a Credit that i Created this Code ;)Video Titel: WebBrowser1.Document.GetElementById("eow-title").GetAttribute("title").ToString
UserName: WebBrowser1.Document.GetElementById("watch-username").InnerText
User Video Count: WebBrowser1.Document.GetElementById("watch-video-count").InnerText
Video Width: WebBrowser1.Document.GetElementById("movie_player").GetAttribute("width")
Video Height: WebBrowser1.Document.GetElementById("movie_player").GetAttribute("height")
Video Watched Count: WebBrowser1.Document.GetElementById("watch-actions-right").InnerText
Video Create Date: WebBrowser1.Document.GetElementById("eow-date").InnerText
Video Description: WebBrowser1.Document.GetElementById("eow-description").InnerText
Video Categories: WebBrowser1.Document.GetElementById("eow-category").InnerText
Video Tags: WebBrowser1.Document.GetElementById("eow-tags").InnerText
Video Likes/Dislikes: WebBrowser1.Document.GetElementById("watch-description-extra-info").InnerText
Thanks!
Greetz Our Napster