![]() |
4 months ago | |
---|---|---|
docs | 3 years ago | |
scrapetube | 10 months ago | |
tests | 2 years ago | |
.gitignore | 1 year ago | |
.readthedocs.yaml | 3 years ago | |
LICENSE | 2 years ago | |
MANIFEST.in | 3 years ago | |
README.md | 4 years ago | |
requirements.txt | 3 years ago | |
setup.py | 3 years ago | |
tox.ini | 3 years ago |
This module will help you scrape youtube without the official youtube api and without selenium.
With this module you can:
pip3 install scrapetube
Here's a few short code examples.
import scrapetube
videos = scrapetube.get_channel("UCCezIgC97PvUuR4_gbFUs5g")
for video in videos:
print(video['videoId'])
import scrapetube
videos = scrapetube.get_playlist("PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU")
for video in videos:
print(video['videoId'])
import scrapetube
videos = scrapetube.get_search("python")
for video in videos:
print(video['videoId'])