Youtube Auto Views Bot
In this post, we are going to see how to watch a video using bot-studio library. We are not going to write selenium code but will use simple functions of bot-studio which does a job for us in a easy way. Here are the steps:-
- Install bot-studio
pip install bot-studio
2. Import bot-studio
3. Create youtube object, which will open automated chrome browser for youtube.
youtube=bot_studio.youtube()
4. Pass the length of video in seconds in function watch_video(), which will wait for that much time.