Skip to main content

Twitter backup crawler

Project description

TwitterBackup

A tool to back up other users' Twitter accounts using the Twitter API. (Currently limited to the last 3200 tweets).

https://user-images.githubusercontent.com/22280294/207434663-a2fa6170-d740-4f35-82f6-df41bdce8837.mp4

Usage

  1. Install python >= 3.7 (Tested on python 3.11)
  2. pip install twb
  3. Register for a Twitter API token
  4. Put your tokens in $HOME/.config/twb/config.toml or ./config.toml.
    You can reference the example config below
  5. Run command twb <username>, and it will download to ./backups

Example Config

# The consumer key from the Twitter application portal (https://developer.twitter.com/en/portal/dashboard)
consumer_key = '#########################'
# The consumer secret from the Twitter application portal
consumer_secret = '##################################################'
# The access token of an app from the Twitter application portal
access_token = '##################################################'
# The access secret of an app from the Twitter application portal
access_secret = '#############################################'

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

twb-1.0.2.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

twb-1.0.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file twb-1.0.2.tar.gz.

File metadata

  • Download URL: twb-1.0.2.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for twb-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c1c7ef5d7efe80638cd04284d7b9f1be1050ef554461affe6d0494dc14a0f305
MD5 36558b8c18a874700c187f5a9e898790
BLAKE2b-256 0712fc9ac2c8b69906b1c3f88144da2bcb68d3ab9669bcbfa403bc572dc29ef1

See more details on using hashes here.

File details

Details for the file twb-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: twb-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for twb-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86ed7e8588ae92e3bac53407e396b076e0e370e72b12c5596a8fc2569c9c9930
MD5 bc6c70936f148af9e2d333cbc6ee6e4e
BLAKE2b-256 c51915c809db4288b4d22b0ee4bd8b8b46c6272baefef75c1f7bd3f04763883c

See more details on using hashes here.

Supported by

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