TweetCapture
Easily take screenshots of tweets/mentions and save them as image.
Command-Line Usage
> pip install tweet-capture
> tweetcapture https://twitter.com/jack/status/20
> tweetcapture -h
Code Usage Examples
Testing
> pip3 install opencv-python numpy
> cd tweetcapture/tests/
> python -m unittest
Docker Usage
docker run --rm -v $(pwd):/app xacnio/tweetcapture -h
docker run --rm -v $(pwd):/app xacnio/tweetcapture https://twitter.com/jack/status/20
- On Windows: Replace
$(pwd)with${PWD}(Powershell) - On Windows: Replace
$(pwd)with%cd%(Command Line)
Modes
| # | ||
|---|---|---|
| 0 | Hide everything outside tweet content and author. | |
| 1 | Show retweet/like counts. | |
| 2 | Show retweet/like counts and timestamp. | |
| 3 | Show everything. | |
| 4 | Show timestamp. |
Night Modes
| # | ||
|---|---|---|
| 0 | Light mode | |
| 1 | Dark mode | |
| 2 | Black mode |
Show Mentions Example
If the tweet have a very many mentions, there may be problems because "show more" option not supported. The tool can show only first loaded mentions. You can limit mention count on screenshot by using -sc argument
tweetcapture -sm 3 https://twitter.com/Twitter/status/1445078208190291973
Image
Show Parent Tweets Example
tweetcapture -sp https://twitter.com/elonmusk/status/1587911540770222081
Image
Metadata
Release files for tweet-capture 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tweet-capture-0.2.5.tar.gz | 10.1 kB | Without provenance | Details for tweet-capture-0.2.5.tar.gz |
Release files / tweet-capture-0.2.5.tar.gz
| Download URL | tweet-capture-0.2.5.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c7abcefa4e13489838eecd588cd4d6c4ccb467e85b2fcbaad66ff6a6819d05e
|
|
BLAKE2b-256 checksum How to use checksums |
2c6802a9f9d0d66e9352f7137ab31da000a97560092d5e1e77b29733a6405039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Security for tweet-capture 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.