Skip to main content

Python library to search torrents on popular russian torrent tracker.

Project description

Python library to search torrents on popular russian torrent tracker.


Via pip:

pip install python-nnmclub


import pynnmclub
nnmclub = pynnmclub.NNMClub()
results ="Iron Man")

Return an iterable with dicts of all torrents found.

Torrent dict is:

    'size',  # in bytes
    'added',  # type: datetime.datetime
    'rating_number',  # how many people rated this,
    'rating',  # rating. float from 0 to 5
    'thanks',  # how many people thanked this torrent

NOTE: With unathorized client you will be able to fetch only first 50 results of search.

Create an authorized client:

nnmclub = pynnmclub.NNMClub(username, password)

Or using previously created nnmclub client:

nnmclub.login(username, password)

If username or password are invalid, whis will raise an pynnmclub.InvalidCredentials error (which is child to pynnmclub.NNMClubError)

There is also a logger pynnmclub enabled that logs exceptions and warnings of parsing errors. It also includes a full HTML of errored context as a DEBUG message.


1.0.0 (2016-05-13)

  • Fixed requires option (changed to install_requires)
  • Version bump

0.1.0 (2016-04-11)

  • Initial PyPI release

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 (5.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page