Easily Scrape youtube search results with this python library

In this post we will see how to search a keyword on youtube and get search results using datakund library. Below are the steps with code:-

  1. Install datakund
pip install datakund

2. Import datakund

from datakund.datakund import *

3. Search the keyword on youtube

obj=datakund()
youtube=obj.youtube()
youtube.search(keyword='cbse exams')

4. Get the search results

Thats it. You can see all apis available here. Enjoy scraping :)