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.2.tar.gz (14.5 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.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tweetcaptureplus-0.3.2.tar.gz
  • Upload date:
  • Size: 14.5 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.2.tar.gz
Algorithm Hash digest
SHA256 9e3d90d740c5fb49232e5d8d826ce57be6a519dc2926dfc0ec189a3b0569b7da
MD5 b1d6f11fd0caacd1325a0ad0eda2ad43
BLAKE2b-256 46830fcf42d65119b2ba9e2cb3ecd9994dfa4e9f8788837b4420da9c2dd6b6ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tweetcaptureplus-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f737932bef612d6d69700d4e0c2730a0eda70845b39195a0f8787f5fe356cf8
MD5 c409e823f1b30877851a612262926f13
BLAKE2b-256 b20afab3d5cc29a74ef85eeee6a1fbe4f02e45c7da908ca6a1837e8fdc9af977

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