https://github.com/serphentas/dumptube
Bulk YouTube downloader in Python
https://github.com/serphentas/dumptube
database download-videos python sqlalchemy video youtube
Last synced: 7 months ago
JSON representation
Bulk YouTube downloader in Python
- Host: GitHub
- URL: https://github.com/serphentas/dumptube
- Owner: Serphentas
- Created: 2017-08-11T22:16:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T09:33:34.000Z (about 8 years ago)
- Last Synced: 2025-02-14T09:22:19.566Z (9 months ago)
- Topics: database, download-videos, python, sqlalchemy, video, youtube
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# dumptube
This tool will download all videos of the given YouTube channels using the best possible quality for each video.
It also stores metadata from both channels and videos inside a local database with parent-children relationships.
## Requirements
* python 3
* pytube
* google-api-python-client
* sqlalchemy
## Usage
Set your [Google API key](https://console.developers.google.com/apis/credentials) in an envvar:
export YT_API_KEY=yourapikey
List the names of the channels you wish to download inside `targets`, one per line. For instance:
youlost
thegame
Then, install and run:
python3 -m venv venv
. venv/bin/activate
pip install --upgrade .
python dumptube
By default, videos are stored in `/dumps`. You may specify the directory in which videos should be saved using the `-d` keyword:
python dumptube -d /tmp
You can also see what has been stored in the database (`db.sqlite`) like so:
python dumptube -s
## Contributing
See [here](CONTRIBUTING.md)
## License
No idea yet, use as if [CC-BY-NC-SA](https://creativecommons.org/licenses/by-nc-sa/3.0)