No Description

Cheskel Twersky 96d01cbf09 Merge pull request #66 from psivash/patch-1 4 months ago
docs 2e7e3b4278 configure readthedocs 3 years ago
scrapetube 0d6f748c34 Update shorts key 10 months ago
tests b080b6e6ec Update test.py 2 years ago
.gitignore c2abcf9651 Fixed get_playlist is limited to 100 videos 1 year ago
.readthedocs.yaml 2e7e3b4278 configure readthedocs 3 years ago
LICENSE a557ee1656 version bump 2 years ago
MANIFEST.in e811e6cbd5 fix: support for python3.6 3 years ago
README.md 06fff53e93 improve docs 4 years ago
requirements.txt e811e6cbd5 fix: support for python3.6 3 years ago
setup.py 4fd850a7f7 blacken 3 years ago
tox.ini e811e6cbd5 fix: support for python3.6 3 years ago

README.md

Scrapetube

This module will help you scrape youtube without the official youtube api and without selenium.

With this module you can:

  • Get all videos from a Youtube channel.
  • Get all videos from a playlist.
  • Search youtube.

Installation

pip3 install scrapetube

Usage

Here's a few short code examples.

Get all videos for a channel

import scrapetube

videos = scrapetube.get_channel("UCCezIgC97PvUuR4_gbFUs5g")

for video in videos:
    print(video['videoId'])

Get all videos for a playlist

import scrapetube

videos = scrapetube.get_playlist("PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU")

for video in videos:
    print(video['videoId'])

Make a search

import scrapetube

videos = scrapetube.get_search("python")

for video in videos:
    print(video['videoId'])

Full Documentation

https://scrapetube.readthedocs.io/en/latest/