Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/code-yeongyu/twitter_video_tools_v2

An all in one Twitter video downloader
https://github.com/code-yeongyu/twitter_video_tools_v2

downloader twitter twtvt video youtube-dl yt-dlp

Last synced: 3 months ago
JSON representation

An all in one Twitter video downloader

Awesome Lists containing this project

README

        

# Twitter Video Tools V2

- A Twitter video downloader
- supports downloading videos from twitter (or specific user from twitter)
- **Please note: This project has no affiliation with the similarly named website https://monsnode.com. Moreover, it is not associated in any way with https://x.com, formerly known as Twitter.**

## Install

### with PIP

```sh
pip install twtvt
```

### with Poetry

```sh
poetry add twtvt
```

## Usage

### Command line

```sh
twtvt --help
```

Supported link types:

- Video tweet:
- Video from [monsnode](https://monsnode.com):
- Specific user's uploaded videos:
- Specific user's liked videos:

### Python Embedding

```python
import twtvt

twtvt.download_video(
target_links=['https://twitter.com/twtvtOfficial/media', 'https://monsnode.com/v1506575871309589251'],
username='your username',
password='your password',
output='./videos',
cookies_from_browser='brave',
until_link='https://twitter.com/twtvtOfficial/status/1599748329927499777',
)
```