Skip to main content

Twitter Space archive helper script

Project description

Twspace-dl

A python script to download twitter space.

Install

From source

git clone --depth 1 https://github.com/Ryu1845/twspace-dl
cd twspace-dl
pip install .

From PyPI

pip install twspace-dl

Usage

twspace_dl -i space_url

Features

Here's the output of the help option

usage: twspace_dl [-h] [-t THREADS] [-v] [-s] [-k] [-i SPACE_URL] [-d DYN_URL] [-f URL] [-o FORMAT_STR] [-m] [-p] [-u]

Script designed to help download twitter spaces

optional arguments:
  -h, --help            show this help message and exit
  -t THREADS, --threads THREADS
                        number of threads to run the script with(default with max)
  -v, --verbose
  -s, --skip-download
  -k, --keep-files

input:
  -i SPACE_URL, --input-url SPACE_URL
  -d DYN_URL, --from-dynamic-url DYN_URL
                        use the master url for the processes(useful for ended spaces)
  -f URL, --from-master-url URL
                        use the master url for the processes(useful for ended spaces)

output:
  -o FORMAT_STR, --output FORMAT_STR
  -m, --write-metadata  write the full metadata json to a file
  -p, --write-playlist  write the m3u8 used to download the stream(e.g. if you want to use another downloader)
  -u, --url             display the master url

Format

You can use the following identifiers for the formatting

%(title)s
%(id)s
%(start_date)s
%(creator_name)s
%(creator_screen_name)s
%(url)s

Example: [%(creator_screen_name)s]-%(title)s|%(start_date)s

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twspace-dl-2021.11.11.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twspace_dl-2021.11.11.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file twspace-dl-2021.11.11.1.tar.gz.

File metadata

  • Download URL: twspace-dl-2021.11.11.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for twspace-dl-2021.11.11.1.tar.gz
Algorithm Hash digest
SHA256 b46e6df353217a895f8ac920fb4cee7ec2cab29d67233e746a5e09fe6f31965d
MD5 ca57af807c338048e43cedf2e0197980
BLAKE2b-256 741c55257bd9b64c85ba6a91933dbcab18af6c50165eda3da0a2bb807d8a0426

See more details on using hashes here.

File details

Details for the file twspace_dl-2021.11.11.1-py3-none-any.whl.

File metadata

  • Download URL: twspace_dl-2021.11.11.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for twspace_dl-2021.11.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a100fae4f7d86401450e06ce3cc878c7279ae500c79495bf9e538211aea03350
MD5 bb01c739d0d0f51b8e6c4764e942e6de
BLAKE2b-256 d71363cb7086ec2e403e492f44a1e2fdf30d7dfc00b4194250241245dae6120e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page