GithubHelp home page GithubHelp logo

tsut's Introduction

tsut

twitter(x) space uploader to telegram channel

Requirements

  • ffmpeg if not using portable binaries.
  • A logged in user's cookies file exported from Twitter in the Netscape format.
  • telegram bot toekn and CHAT_ID

Usage

at first you need to add bot toekn and CHAT_ID into .env file

for single space

tsut -i SPACE_LINK -c COOKIE_FILE -b BOT_TOKEN -C TELEGRAM_CHANNEL

Features

Here's the output of the help option

usage: tsut [-h] -c COOKIE_FILE
                  [-i SPACE_URL] [-f spaces.txt]

Script designed to help download twitter spaces

options:
  -h, --help            show this help message and exit

  -c COOKIE_FILE        cookies file in the Netscape format. The specs of the
                        Netscape cookies format can be found here:
                        https://curl.se/docs/http-cookies.html. The cookies
                        file is now required due to the Twitter API change
                        that prohibited guest user access to Twitter API
                        endpoints on 2023-07-01.

input:
  -i SPACE_URL, --input-url SPACE_URL
  -f spaces.txt, --file spaces.txt 

Known Errors

Changing ID3 metadata in HLS audio elementary stream is not implemented....

This is an error in ffmpeg that does not affect twspace_dl at all as far as I know.

tsut's People

Contributors

erfan-rfmhr avatar armantaherighaletaki avatar

Stargazers

 avatar  avatar  avatar Nima Gholami avatar Amir R. Alavi avatar yazdan bahadori avatar  avatar  avatar Hamed Khosravi avatar Alireza moradi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.