VB.NET Youtube LIKE and DISLIKE Button classes Problem for VB.NET

Chris4you79

Newbie
Joined
Jan 4, 2019
Messages
15
Reaction score
0
I have a nice tool for YouTube .... but one Problem: How is it possible to LIKE or DISLIKE a Video in the Webbrowser control. I do not find the correct classes to activate the button. The code for comments and send comment button is working...... but not like oder dislike... any ideas????

For Each altelm As HtmlElement In WebBrowser1.Document.GetElementsByTagName("BUTTON")
If altelm.GetAttribute("classname").ToString = "yt-renderer-button" Then
altelm.Focus()
altelm.InvokeMember("click")
End If
Application.DoEvents()
Next
 
Back
Top