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.5.tar.gz (15.1 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.5-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tweetcaptureplus-0.3.5.tar.gz
  • Upload date:
  • Size: 15.1 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.5.tar.gz
Algorithm Hash digest
SHA256 351160e4ca6533006fe804f52f0d57ffd56e6f9a18f10ff13353e3a447876fcf
MD5 ec57ec9ddf57feeee1f02f0cd000c512
BLAKE2b-256 1078474a80058e18d57148f9459e4cadfcb7ed3b8efd58fb75823c89c9e8d369

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tweetcaptureplus-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7377f7b6578325e6bcdb227bf315093b122e8e35cdab2bc928d95f63f6b5a5fe
MD5 2df50b2741be7dbcc1825a3702d9fda3
BLAKE2b-256 0282f841823395df92034d0725387ef45d01e2c092b4ba93aa8fbc7b80c5ba44

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