Skip to content

An experimental program to chat any tweet with AI. It takes a tweet's URL as input. Now the only AI provider is Gemini since it has better multimodal support.

Notifications You must be signed in to change notification settings

changtimwu/twitter-x-chat

 
 

Repository files navigation

Twitter Video Downloader 2.0

forthebadge made-with-python

Hits


This is a Python script that allows you to download videos from X aka Twitter using the terminal. It takes a Twitter post URL as an input, extracts the highest-quality video URL, and downloads the video.

Prerequisites

pip install -r requirements.txt
gcloud auth application-default login

Usage

  • Run the script with the video URL as the argument
python xvtalk.py <a tweet's URL>

example

python xvtalk.py https://x.com/realmadriden/status/1743790569866821949?s=20

Note

  • This script relies on the external website twitsave.com to retrieve the video URL for downloading. It uses the API provided by twitsave.com to fetch the video details.
  • Please ensure you have a stable internet connection and access to twitsave.com for the script to work properly.
  • Me and this project are not affiliated with twitsave.com. Please review and comply with the terms and conditions of twitsave.com/terms when using their services through this script.

About

An experimental program to chat any tweet with AI. It takes a tweet's URL as input. Now the only AI provider is Gemini since it has better multimodal support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%