Youtube Auto Views Bot

In this post, we are going to see how to watch a video using datakund library. We are not going to write selenium code but will use simple functions of datakund which does a job for us in a easy way. Here are the steps:-

  1. Install datakund
pip install datakund

2. Import datakund

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

obj=datakund()
youtube=obj.youtube()

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