[TUTORIAL]Get YouTube Video Infos
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
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
Hello Napster1488,
Maybe split the codes into separate code blocks, but anyway nice and keep it up cooll;
Maybe split the codes into separate code blocks, but anyway nice and keep it up cooll;
Agust1337 wrote:Hello Napster1488,Ok Thanks!
Maybe split the codes into separate code blocks, but anyway nice and keep it up cooll;
Ill try if i can get more Infos from YouTube to VB ;)
EDIT:
I just got it working to manipulate the HTML Code from a YouTube Video ;)
Now i can disable AutoPlay etc...
Soo Guys be ready for a Awesome YouTube Downloader

Jg99 wrote:Awesome Tut, i like it! Keep up the Awesome workThanks!
un kn0 wn wrote:Nice Tut, some useful codes.THX!
I would totally do something for you if you could find out or post how to get the comments into a textbox or something.
anthonygz wrote:I would totally do something for you if you could find out or post how to get the comments into a textbox or something.I will try now to do that ;)
I tryd to get Comments,
but its really Hard, in the moment i didnt got it Working...sry...
but its really Hard, in the moment i didnt got it Working...sry...
Copyright Information
Copyright © Codenstuff.com 2020 - 2023