-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,30 @@ | ||
# Twspace-dl | ||
|
||
Early development | ||
A python script to download twitter space, only works on running spaces (for now). | ||
|
||
## Usage | ||
|
||
requires ffmpeg and the requests module | ||
```bash | ||
python twspace_dl/main.py -i space_id | ||
ffmpeg -protocol_whitelist file,https,tls,tcp -i space_id.m3u8 -c copy space_id.aac | ||
python twspace_dl/main.py space_id | ||
``` | ||
|
||
## Features | ||
Here's the output of the help option | ||
``` | ||
usage: main.py [-h] [-v] [-m] [-w] [-u] [-s] [-k] SPACE_ID | ||
Script designed to help download twitter spaces | ||
positional arguments: | ||
SPACE_ID | ||
optional arguments: | ||
-h, --help show this help message and exit | ||
-v, --verbose | ||
-m, --write-metadata | ||
-w, --write-playlist write the m3u8 used to download the stream | ||
-u, --url display the final url | ||
-s, --skip-download | ||
-k, --keep-files | ||
``` |