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.3.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.3-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tweetcaptureplus-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 dd3e673d4b431e71ee3caf9405424d77a049719f3f4ad8d77fed430575a0e3fc
MD5 1829efcffcc3bbb7956ea29280442017
BLAKE2b-256 c0748736c3f13aed49c3e10657f963da1cce82bec92642022a1e3b05d633556d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tweetcaptureplus-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 859dde4eab66baa36096a9777f48ab33221f574611d0633e0b50500f6c207751
MD5 8eadabb53f62e0e3460010690b32faba
BLAKE2b-256 2411977d717d22a956cc3106d3a1dcb476dd147f6b73bf24abfb12cd2069e27e

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