Skip to main content

Better search for 1337x[.]to with basic filters

Project description

bt1337xearch

1337x search TUI with Cloudflare bypass and basic filtering

What it does

bt1337xearch is a command-line tool that searches 1337x torrents with:

  • Category filtering (Movies, TV, Games, etc.)
  • Sorting options (by time, size, seeders, leechers)
  • Keyword filtering (include/exclude keywords)

Prerequisites

bt1337xearch uses scrapling StealthyFetcher for bypassing the Cloudflare Captcha.
The StealthyFetcher uses a custom playwrigth build to made that happen.
You can install this playwright version using Scrapling:

uvx scrapling[shell] install

[!WARNING] If the "Installing Playwright dependencies..." step fails, bt1337xearch should still work (e.g., Arch-based distros).

Installation

uv tool install bt1337xearch

or

git clone https://github.com/SimoneFelici/bt1337xearch.git
cd bt1337xearch
uv tool install .

Usage

[!TIP] Use "ctrl + p" to display the TUI keybindings!

Basic search

bt1337xearch -n "Dexter"

Search with category (Recommended)

bt1337xearch -n "Lupin" -c ANIME

Search with sorting

bt1337xearch -n "Alien" -c MOVIE -s TIME -o DESC

Advanced filtering

Use + to include words and ~ to exclude words:

# Include only results with "1080p" or "BluRay"
bt1337xearch -n "Dexter" -f +1080p +BluRay

# Exclude results with "CAM" or "TS"
bt1337xearch -n "Movie" -f ~CAM ~TS

# Combine include and exclude
bt1337xearch -n "Dexter" -c TV -f +1080p "~x265 HEVC" ~CAM

Options

Option Description Choices
-n, --name Name of the media (required) -
-c, --category Filter by category MOVIE, TV, GAME, MUSIC, APP, DOCU, ANIME, OTHER, XXX
-s, --sort Sort results by TIME, SIZE, SEED, LEECH
-o, --order Sort order (default: DESC) ASC, DESC
-f, --filter Filter by keywords Use +word to include, ~word to exclude
--match-all The '+' filter works with "AND" and not "OR"

Examples

# Search for Dexter TV series, sorted by seeders
bt1337xearch -n Dexter -c TV -s SEED

# Search for movies with "1080p", exclude "CAM" releases
bt1337xearch -n "Angel's Egg" -c MOVIE -s TIME -o DESC -f +1080p '~CAM'

# Search for games, sorted by upload time
bt1337xearch -n "Peak" -c GAME -s TIME -o ASC

Output

For each result, the tool displays:

  • Name
  • Link
  • Seeders
  • Leechers
  • Upload date
  • File size
  • Uploader
image

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

bt1337xearch-0.2.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

bt1337xearch-0.2.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file bt1337xearch-0.2.1.tar.gz.

File metadata

  • Download URL: bt1337xearch-0.2.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bt1337xearch-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b04a131545467e679b01a1d7e9cec87ed0ff86bfaf012fc5157474b75fa6e677
MD5 bb7747b7e2957915dfb9752bac972633
BLAKE2b-256 e7a69413db8b7a085f0a2130a7bf56690e602d844e3534237daae2907b5ce886

See more details on using hashes here.

Provenance

The following attestation bundles were made for bt1337xearch-0.2.1.tar.gz:

Publisher: publish.yml on SimoneFelici/bt1337xearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bt1337xearch-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bt1337xearch-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bt1337xearch-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64370f5958be076556a75565e3359fe9bc0730fdc45fbf4b0e3d9da7c135c198
MD5 ca2a9c19400c61c4e50a8c8a920ba3a6
BLAKE2b-256 389af935326c9896494213be89ff34f167c4364cbd692ca812cafb50270199db

See more details on using hashes here.

Provenance

The following attestation bundles were made for bt1337xearch-0.2.1-py3-none-any.whl:

Publisher: publish.yml on SimoneFelici/bt1337xearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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