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).
Usage
- Install python
>= 3.7
(Tested on python 3.11) pip install twb
- Register for a Twitter API token
- Put your tokens in
$HOME/.config/twb/config.toml
or./config.toml
.
You can reference the example config below - 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
Release history Release notifications | RSS feed
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)
Built Distribution
twb-1.0.2-py3-none-any.whl
(7.9 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c7ef5d7efe80638cd04284d7b9f1be1050ef554461affe6d0494dc14a0f305 |
|
MD5 | 36558b8c18a874700c187f5a9e898790 |
|
BLAKE2b-256 | 0712fc9ac2c8b69906b1c3f88144da2bcb68d3ab9669bcbfa403bc572dc29ef1 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ed7e8588ae92e3bac53407e396b076e0e370e72b12c5596a8fc2569c9c9930 |
|
MD5 | bc6c70936f148af9e2d333cbc6ee6e4e |
|
BLAKE2b-256 | c51915c809db4288b4d22b0ee4bd8b8b46c6272baefef75c1f7bd3f04763883c |