PY1337X

A Python library for programmatically searching and retrieving torrent information from the 1337x website.

What it is

PY1337X is a developer tool that provides a programmatic interface to the 1337x torrent tracker. It allows software developers to integrate torrent search and metadata retrieval directly into their own applications and scripts.

The library offers both synchronous and asynchronous clients, enabling efficient data fetching. Its main features include searching for torrents by keyword and category, retrieving detailed information about a specific torrent (including magnet links), and accessing trending torrent lists.

This tool is designed for developers building applications that need to automate interactions with torrent sites, such as media managers, content aggregators, or research tools. It handles the complexities of web scraping and provides a clean, structured data output.

PY1337X is built for the Python ecosystem and is available as an open source project on GitHub. It simplifies working with torrent data by converting website information into usable data models and dictionaries.

This description was generated by AI from the site's public content and may contain errors.

What you can do there

  • Search for torrents by keyword and category
  • Retrieve detailed torrent information and magnet links
  • Access trending torrent lists
  • Use synchronous or asynchronous Python clients
  • Convert torrent data into structured dictionaries

Who it's for

Python developers building applications that require programmatic access to torrent data

Frequently asked questions about 1337x.readthedocs.io

›How do I install the PY1337X library?

You can install it using pip with the command 'pip install 1337x' or directly from the source code on GitHub.

›Does this library support asynchronous operations?

Yes, it provides an AsyncPy1337x client for asynchronous usage in addition to the standard synchronous client.

›What information can I get about a torrent?

You can retrieve details like the torrent name, seeders, leechers, file size, upload date, magnet link, and description.

›Can I search for torrents within specific categories?

Yes, the library requires specifying a category for searching, such as applications, movies, TV shows, or games.

›Is this an official API from 1337x?

No, this is an unofficial Python library that scrapes the 1337x website to provide its functionality.

›How do I get the magnet link for a torrent?

After searching, you use the torrent ID with the info() method, which returns an object containing the magnet link.