Skip to main content

Easily take screenshots of tweets, mentions, and full threads.

Project description

Hits

TweetCapturePlus

Easily take screenshots of tweets, mentions, and full threads.

About This Fork

This project is a fork of xacnio/tweetcapture. It includes the following additional functionality.

What's new

  • Take screenshots of long Tweets (that require scrolling to capture)
  • Some settings are default now: overwrite, Dim mode, Capture full threads

Bug fixes

  • Fixed an issue where the screenshot would be cut off when the tweet was too long
  • Fixed issues related to the Twitter UI changes

Deprecated Features

  • Scale, Mode

The original project is licensed under the MIT License, and this fork retains the same license.

Command-Line Usage

> pip install tweetcaptureplus
> tweetcaptureplus https://x.com/elonmusk/status/1519480761749016577
> tweetcaptureplus -h

Code Usage Examples

Testing

> pip install opencv-python numpy
> cd tweetcaptureplus/tests/
> python -m unittest

Docker Usage

docker run --rm -v $(pwd):/app xacnio/tweetcaptureplus -h
docker run --rm -v $(pwd):/app xacnio/tweetcaptureplus https://x.com/elonmusk/status/1519480761749016577
  • On Windows: Replace $(pwd) with ${PWD} (Powershell)
  • On Windows: Replace $(pwd) with %cd% (Command Line)

Night Modes

# Night Mode Screenshot
0 Default
1 Dim
2 Lights out

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

tweetcaptureplus -sm 3 https://twitter.com/Twitter/status/1445078208190291973

Show Parent Tweets Example

NOTICE: You have to be logged in the show the full thread.

tweetcaptureplus -sp https://x.com/elonmusk/status/1746970616060580326

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

tweetcaptureplus-0.3.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tweetcaptureplus-0.3.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file tweetcaptureplus-0.3.1.tar.gz.

File metadata

  • Download URL: tweetcaptureplus-0.3.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for tweetcaptureplus-0.3.1.tar.gz
Algorithm Hash digest
SHA256 95d6f9cd7dd8e25e75bf421c34e09f76321fb08c1d9e22ddd8e3d4efe8019f52
MD5 d45cfc33b8b6276aca5f88ef68d1e212
BLAKE2b-256 699bd7f21772eb61e008e5280100f5d4ea7d1cbcdc1409cdeec439d021dad313

See more details on using hashes here.

File details

Details for the file tweetcaptureplus-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tweetcaptureplus-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7973431e8634799226d19b19dacf30846cfdc7cbb3280f5fc9321203450f6f7b
MD5 c786b8821870801533091406768b2b5a
BLAKE2b-256 c3fa51f8041cd6268f368a219e81170954d9926812300997bfd788a839066607

See more details on using hashes here.

Supported by

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