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:-

  1. Install bot-studio

2. Import bot-studio

3. Create youtube object, which will open automated chrome browser for youtube.

4. Pass the length of video in seconds in function watch_video(), which will wait for that much time.

--

--

Automation @ Scale

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store