Need help for YouTube bot

  • Thread starter Thread starter jovic70
  • Start date Start date
J

jovic70

Guest
Hello,

I want to create YouTube bot, I have problem with video view. How to load YouTube video in c# properly? This is what I try.
1. I have try to use WebBrowser control and to navigate to video I want, but there is a problem with sound, I can't turn off sound. Is there a way to use this control and turn off sound while video play? I know there is a metod to disable system sound but I don't like this :(

2. I try to use JWPlayer and to extranal link, but YouTube doesn't count my visit :(


Please help
 
It's a bit hard to do it from a web browser, even harder doing it from sockets. Like the guy from above said, you're starting from the wrong point. If you need views, then you need to learn how YT counts views. There's a youtube section here if you need more information.
 
you are starting from the wrong point . You should learn how to sends requests instead of loading the flash object and etc...

Can u write me a code sample how to do that? Does YouTube count view when I watch whole video, or just I need to send request?
 
With C#, use Webrequest and no Webbrowser which is a slow component.
I use a chrome extension for see post request and implements them in C#
 
No offense, but I would give up on trying to get a youtube view bot. It is too hard for a beginner. No one is going to tell you how to do it. You will need to figure it out yourself, which for a beginner is going to take a long time.

If you do want to perserve, visit a youtube page, check all headers that your browser requests, check all network connectivity etc. Then test to find out what, when and how the view is calculated.
 
you are starting from the wrong point . You should learn how to sends requests instead of loading the flash object and etc...

Youtube has very good measures on deciding views, such as JS checks and Flash checks to see if they component is loading and streaming and playing.

Making a request to a video is not enough to count as a view. But regardless OP should start there if he wants to write a bot because that is basic knowledge he should know to take on such a task.

Most bot writers who write youtube bots make them rather simple and just wrap a browser inside their piece of software.
 
views are harder now, and probably you can't web browser control and change its proxy and add views, yt is not tolerating that.. so, probably you have only one option for adding views to the video using requests.. you can try web requests instead. it will make your work some how easier.
 
Back
Top