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.4.tar.gz (14.7 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.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tweetcaptureplus-0.3.4.tar.gz
Algorithm Hash digest
SHA256 5ef42ba49e281d914417fe961599f830d5e93d95d6fb1f20040f55ce8988d82d
MD5 b1a526aa55448fa3cd4c96051189715f
BLAKE2b-256 162d53aa92864414254a59a87fabdb1cea917839f69a0a8cabaa84b695662403

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tweetcaptureplus-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3095bc4d15c88e67104c1a0a440a25c48881f78e6f493596321953881c1cb25a
MD5 671217d97ffc1bc006863c74866757d2
BLAKE2b-256 2cd6c3efda58e702757a6035ce290f5b70da642c5ec31bba32ade46a2edf46a5

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