Torrents2Py is a simple Python package for searching and retrieving torrent details from https://torrentz2.nz/. Easily access and manage torrent information in your Python projects.
filters= {
'max_size': '2 GB', # Maximum file size for torrents'exclude_keywords': ['sample', 'rarbg'], # Exclude torrents with specific titles'min_upload_date': '2022-01-01', # Minimum upload date for torrents'max_upload_date': '2022-12-31', # Maximum upload date for torrents'sort_by': 'seeds', # Sort search results by criteria (options: 'seeds', 'size', 'uploaded', 'peers', etc.)'sort_order': 'desc', # Sort order ('desc' for descending, 'asc' for ascending)
}