This package provides a high-level abstraction over selenium to allow programmatic interaction with YouTube's interface.
- Install the package using
pip install --upgrade YouTube-Driver
. - Download youtube-dl to a location in your PATH.
- Download the corresponding webdriver for your browser to a location in your PATH.
- For Google Chrome: chromedriver
- For Firefox: geckodriver
- See
example.py
for a quick overview on how to use the package. - Read the documentation.
This tool was developed as part of an effort by researchers at UC Davis to audit the recommendations on YouTube. Read more about it here.
The primary maintainer is Muhammad Haroon.