https://github.com/ihabunek/twitch-dl
CLI tool for downloading videos from Twitch.
https://github.com/ihabunek/twitch-dl
cli download-videos twitch
Last synced: 5 months ago
JSON representation
CLI tool for downloading videos from Twitch.
- Host: GitHub
- URL: https://github.com/ihabunek/twitch-dl
- Owner: ihabunek
- License: gpl-3.0
- Created: 2018-01-25T10:09:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-12-15T16:28:04.000Z (6 months ago)
- Last Synced: 2025-12-18T22:27:25.782Z (6 months ago)
- Topics: cli, download-videos, twitch
- Language: Python
- Size: 1.13 MB
- Stars: 736
- Watchers: 13
- Forks: 82
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-twitch-dev - ihabunek/twitch-dl - CLI tool for downloading videos from Twitch. (Libraries / Python)
README
Twitch Downloader
=================
CLI tool for downloading videos from twitch.tv
Inspired by [youtube-dl](https://youtube-dl.org/) but improves upon it by using
multiple concurrent connections to make the download faster.
Resources
---------
* [Documentation](https://twitch-dl.bezdomni.net/)
* [Source code](https://github.com/ihabunek/twitch-dl)
* [Issues](https://github.com/ihabunek/twitch-dl/issues)
* [Python package](https://pypi.org/project/twitch-dl/)
Requirements
------------
* Python 3.9 or later
* [ffmpeg](https://ffmpeg.org/download.html), installed and on the system path
Quick start
-----------
See [installation instructions](https://twitch-dl.bezdomni.net/installation.html)
to set up twitch-dl.
List videos from a channel.
```
twitch-dl videos bananasaurus_rex
```
List clips from a channel.
```
twitch-dl clips bananasaurus_rex
```
Download a video by URL.
```
twitch-dl download https://www.twitch.tv/videos/1418494769
```
or by ID
```
twitch-dl download 1418494769
```
Download a clip by URL
```
twitch-dl download https://www.twitch.tv/bananasaurus_rex/clip/PlacidColdClipsdadDeIlluminati-hL2s_aLE4CHvVN4J
```
or by slug
```
twitch-dl download PlacidColdClipsdadDeIlluminati-hL2s_aLE4CHvVN4J
```
For more info see [the documentation](https://twitch-dl.bezdomni.net/usage.html).
License
-------
Copyright 2018-2022 Ivan Habunek
Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html
Useful links for dev
--------------------
* https://eb.rodney.io/ - lists enhanced broadcasting streams
Some other downloaders:
* https://github.com/lay295/TwitchDownloader/
* https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/twitch.py
Twitch GQL:
* https://supersonichub1.github.io/twitch-graphql-api/index.html
* https://github.com/SuperSonicHub1/twitch-graphql-api
YTT Subs:
* https://github.com/arcusmaximus/YTSubConverter
* https://github.com/Kam1k4dze/SubChat
* https://github.com/FyraLabs/yttml/blob/main/crates/srv3-ttml/internals/srv3-format.md