{ "info": { "author": "1elie1", "author_email": "1elie1@tuta.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Torrent Domains\n=======================\n\n\n.. image:: https://img.shields.io/pypi/v/torrent_domains.svg\n :target: https://pypi.python.org/pypi/torrent_domains\n\nPython package to generate urls and parse x1337x, BTDB, EZTV, LimeTorrents, ThePirateBay, Zooqle html pages into useful python dictionaries.\n\nFeatures\n--------\n* 0 dependencies\n* URL generation given keywords:\n - [x] x1337x\n - [x] BTDB\n - [x] EZTV\n - [x] LimeTorrents\n - [x] ThePirateBay\n - [x] Zooqle\n\n* URL generation given a Category or a Sorter:\n - [x] x1337x\n - [x] BTDB\n - [x] EZTV\n - [x] Limetorrents\n - [x] ThePirateBay\n - [x] Zooqle\n\n* URL generation given multiple Categories:\n - [ ] x1337x\n - [ ] BTDB\n - [ ] EZTV\n - [ ] Limetorrents\n - [ ] ThePirateBay\n - [ ] Zooqle\n\n\n Note: x1337x, BTDB, EZTV, and LimeTorrents do not need to generate multiple urls, but do need to be able to handle multiple categories being passed in.\n\n* Parse homepage:\n - [x] EZTV\n - [x] LimeTorrents\n - [ ] Zooqle\n\n* Parse search page:\n - [x] x1337x\n - [x] BTDB\n - [x] EZTV\n - [x] LimeTorrents\n - [x] ThePirateBay\n - [x] Zooqle\n\n\nUsage\n--------\nCreating a domain object with default urls:\n\n```python\nimport torrent_domains\n\ntorrent_domains.BTDB().url\n# 'https://btdb.to'\n\ntorrent_domains.EZTV().url\n# 'https://eztv.ag'\n\ntorrent_domains.LimeTorrents().url\n# 'https://limetorrents.info'\n\ntorrent_domains.ThePirateBay().url\n# 'https://thepiratebay.org'\n\ntorrent_domains.Zooqle().url\n# 'https://zooqle.com'\n```\n\n\n##Parsing\nSimply pass the html to the parse_search_page() method.\n\nThe domain's parse_search_page(html) method will yield a generator dictionaries:\n\n```python\nimport torrent_domains\n\ndomain = torrent_domains.ThePirateBay()\n\n# torrents is a list of dictionaries.\ntorrents = list(domain.parse_search_page('html'))\n```\n\nAs pages are parsed, trackers are gathered from the magnet links.\nYou can disable this feature with the following:\n\n```python\nimport torrent_domains\n\ndomain = torrent_domains.ThePirateBay()\n\n#Trackers are not saved:\ntorrents = list(domain.parse_search_page('html',parse_trackers=False))\ntrackers = domain.get_trackers() #empty\n\n# Trackers are saved:\ntorrents = list(domain.parse_search_page('html'))\ntrackers = domain.get_trackers() #NOT empty\n```\n\n### Optional Arguments\n#### x1337x\n* category\n* descending\n* page\n* sorter\n * SEEDERS\n * TIME\n * SIZE\n * LEECHERS\n#### BTDB\n* page\n* sorter\n * RELEVANCE\n * SIZE\n * FILES\n * ADDTIME\n * POPULARITY\n#### EZTV\n* category\n#### LimeTorrents\n* category\n* page\n* sorter\n * LEECHERS\n * SEEDERS\n * SIZE\n * UPLOADED\n#### ThePirateBay\n* category\n* descending\n* sorter\n * NAME\n * LEECHERS\n * SEEDERS\n * SIZE\n * UPLOADED\n#### Zooqle\n* category\n* descending\n* page\n* sorter\n * SEEDERS\n * SIZE\n * UPLOADED \n\n\n\n\n--------\n\n##### Universal Categories:\n ALL\n MOVIES\n TV\n AUDIO\n GAMES\n ANIME\n SOFTWARE\n PICTURES\n BOOKS\n\n##### Universal Sorters:\n NAME\n UPLOADED\n SIZE\n SEEDERS\n LEECHERS\n\nNote: ALL is the default category and SEEDERS is the default sorter.\n\n#\n### Categories\n#####x1337x\n - ALL\n - ANIME\n - Dual Audio\n - Dubbed\n - Raw\n - Subbed\n - APPLICATIONS\n - Android\n - iOS\n - Linux\n - Mac\n - Other\n - PC Software\n - DOCUMENTARIES\n - Documentary\n - GAMES\n - 3DS\n - Dreamcast\n - DS\n - GameCube\n - Other\n - PC Game\n - PS1\n - PS2\n - PS3\n - PS4\n - PSP\n - Switch\n - Wii\n - Xbox\n - Xbox360\n - MOVIES\n - 3D\n - Bollywood\n - Divx/Xvid\n - Dubs/Dual Audio\n - DVD\n - h.264/x264\n - HD\n - HEVC/x265\n - Mp4\n - SVCD/VCD\n - UHD\n - MUSIC\n - AAC\n - Album\n - Box Set\n - Concert\n - Discography\n - DVD\n - Lossless\n - MP3\n - Other\n - Radio\n - Single\n - Video\n - OTHER\n - Audiobook\n - Comics\n - E-Books\n - Emulation\n - Mobile Phone\n - Nulled Scripts\n - Other\n - Sound\n - Tutorials\n - TV\n - Cartoon\n - Divx/Xvid\n - DVD\n - HD\n - HEVC/x265\n - SD\n - SVCD/VCD\n - XXX\n - Games\n - Hentai\n - Magazine\n - Picture\n - Video\nUsage\n##### BTDB\n- ALL\n##### EZTV\n- TV\n##### LimeTorrents\n- ALL\n- ANIME\n- APPLICATIONS\n- GAMES\n- MOVIES\n- MUSIC\n- OTHER\n- TV\n##### ThePirateBay\n- ALL\n- AUDIO\n - MUSIC\n - AUDIO BOOKS\n - SOUND CLIPS\n - FLAC\n - OTHER\n- VIDEO\n - MOVIES\n - MOVIES DVDR\n - MUSIC VIDEOS\n - MOVIE CLIPS\n - TV SHOWS\n - HANDHELD\n - HD MOVIES\n - HD TV SHOWS\n - 3D\n - OTHER\n- APPLICATIONS\n - WINDOWS\n - MAC\n - UNIX\n - HANDHELD\n - IOS (iPad/iPhone)\n - ANDROID\n - OTHER\n- GAMES\n - PC\n - MAC\n - PSX\n - XBOX360\n - WII\n - HANDHELD\n - IOS (iPad/iPhone)\n - ANDROID\n - OTHER\n- OTHER\n - E-BOOKS\n - COMICS\n - PICTURES\n - COVERS\n - PHYSIBLES\n - OTHER\n- PORN\n - MOVIES\n - MOVIES DVDR\n - PICTURES\n - GAMES\n - HD MOVIES\n - MOVIE CLIPS\n - OTHER\n##### Zooqle\n- ALL\n- MOVIES\n- TV\n- MUSIC\n- GAMES\n- APPLICATIONS\n- BOOKS\n- ANIME\n- OTHER\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/1elie1/torrent_domains", "keywords": "torrent_domains", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "torrent-domains", "package_url": "https://pypi.org/project/torrent-domains/", "platform": "", "project_url": "https://pypi.org/project/torrent-domains/", "project_urls": { "Homepage": "https://github.com/1elie1/torrent_domains" }, "release_url": "https://pypi.org/project/torrent-domains/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "Torrent domains.", "version": "2.0.1" }, "last_serial": 4670743, "releases": { "0.1.0": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "653b46ae67563dbdbf067251a54650df", "sha256": "1498dfe10cecea5af2841f530ff286256492ca85493cdb6fcf245cddfb86940d" }, "downloads": -1, "filename": "torrent_domains-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "653b46ae67563dbdbf067251a54650df", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17881, "upload_time": "2018-12-03T02:26:22", "url": "https://files.pythonhosted.org/packages/8a/70/80d35bf99579b18f4aaaca9adfdc834122e2ea396f1a1aaa4278f0143923/torrent_domains-0.2.0-py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "e95d5d24e9ea54c3707744a42bcde4ca", "sha256": "fb4413352440040a0dede909ccf152aabd6e59bd0d8bd5f310d82b55626b5c12" }, "downloads": -1, "filename": "torrent_domains-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e95d5d24e9ea54c3707744a42bcde4ca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18089, "upload_time": "2018-12-07T20:02:45", "url": "https://files.pythonhosted.org/packages/9a/32/59fb325c2707b9d05f51285de39db35f6a197d266dab8db587cc906e7c1f/torrent_domains-0.3.0-py3-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "8a3de442825be81349221edee1ba993f", "sha256": "7734fa18c30f31c9c644ee87a775647e2f394324bcea6571495f54a9168f77a6" }, "downloads": -1, "filename": "torrent_domains-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8a3de442825be81349221edee1ba993f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18085, "upload_time": "2018-12-07T20:19:45", "url": "https://files.pythonhosted.org/packages/b9/12/08d093faedd8e723cbe0707303c36edbbc671b6d293e395760c903869051/torrent_domains-0.4.0-py3-none-any.whl" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "534a91c360d3859db54529ba472c4d95", "sha256": "d6b9de7b3ccee211133211a40950d25da572282fabffe35d08555ace4d113ef1" }, "downloads": -1, "filename": "torrent_domains-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "534a91c360d3859db54529ba472c4d95", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18142, "upload_time": "2018-12-07T21:25:58", "url": "https://files.pythonhosted.org/packages/89/26/007aa4e75cda7469d6de80aece56672d80601a0646054ce8867bd98f8ec0/torrent_domains-0.5.0-py3-none-any.whl" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "0e90edbe7ebee5598aad5b53f49e7ebe", "sha256": "32a4e000d89ab8ee2e7971f8077ff79ce9d3187c97570b55de0ca76f5cbe95a4" }, "downloads": -1, "filename": "torrent_domains-0.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0e90edbe7ebee5598aad5b53f49e7ebe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18108, "upload_time": "2018-12-09T00:02:11", "url": "https://files.pythonhosted.org/packages/80/ca/5cfa262efc40bf4c7e508895fbd064f52fcccae9ac05129ef8de35509a25/torrent_domains-0.6.0-py3-none-any.whl" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "6050dea8442303f0d1085eaf3b1304c3", "sha256": "7ba633896a5eb814382d9a89b766ad3988eb4c4ae11ff96227adff71cd11e283" }, "downloads": -1, "filename": "torrent_domains-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6050dea8442303f0d1085eaf3b1304c3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18116, "upload_time": "2018-12-11T05:00:43", "url": "https://files.pythonhosted.org/packages/41/4d/d91e8ec3a4fa79adeb91b6a13ca9abc60efb2e662aa613b6160a9f1bd2f4/torrent_domains-0.7.0-py3-none-any.whl" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "074006be111a057704933b5c9a48067f", "sha256": "a6eea97626f213b7f7aa2ba41c2b48cea2cc2436488e9b443515839c2d308696" }, "downloads": -1, "filename": "torrent_domains-0.8.0-py3-none-any.whl", "has_sig": false, "md5_digest": "074006be111a057704933b5c9a48067f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18265, "upload_time": "2018-12-12T03:25:06", "url": "https://files.pythonhosted.org/packages/c5/48/b6ce6bd3ecbb0a6a1c9f327587ecad8cd0cd546cf1c736c1c4b511458378/torrent_domains-0.8.0-py3-none-any.whl" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "d4fdec90e66d93a5919370055335e187", "sha256": "7266d91555a5d0b2f1537fa1168e434c85309c7a57d2dfbe48d5714d87e80022" }, "downloads": -1, "filename": "torrent_domains-0.9.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d4fdec90e66d93a5919370055335e187", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18322, "upload_time": "2018-12-12T21:16:38", "url": "https://files.pythonhosted.org/packages/0e/65/18baaeeaa949e8110c60b67a41591fd6e5f53333457503b3df83e86e6edc/torrent_domains-0.9.0-py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "62dc8c427f27e36d07f30bfe70882109", "sha256": "c924479986b70605d6971703d132bb1b94a35c9c44b407809e1de6ea27e9bee0" }, "downloads": -1, "filename": "torrent_domains-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "62dc8c427f27e36d07f30bfe70882109", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18358, "upload_time": "2018-12-12T23:30:06", "url": "https://files.pythonhosted.org/packages/be/2e/781438a3d179c296aec9ee6e35939231f7a53f22bec32780cac11415941e/torrent_domains-1.0.0-py3-none-any.whl" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "b757eae6ef6c1a94f6eb7389df97364e", "sha256": "60cb4c4a83fef419dc430d4245582f1c4240c199651c20c0005f5433a76c860e" }, "downloads": -1, "filename": "torrent_domains-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b757eae6ef6c1a94f6eb7389df97364e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17576, "upload_time": "2019-01-03T18:36:28", "url": "https://files.pythonhosted.org/packages/02/65/64af681430904057e72aadc82399753c333d6d9b85d457e6d37315e53f1e/torrent_domains-2.0.0-py3-none-any.whl" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "014f0bd3d07e225bea90488a7f6c3108", "sha256": "ce0d2cb1ed5721dc763de8c5f8e384f3f832203499a3b499b8a14841eeefd08c" }, "downloads": -1, "filename": "torrent_domains-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "014f0bd3d07e225bea90488a7f6c3108", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17644, "upload_time": "2019-01-08T00:14:19", "url": "https://files.pythonhosted.org/packages/2c/ed/05e40b9c6830a868715f2718b35de8d85aabb62bd1c659f7df09876f9609/torrent_domains-2.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "014f0bd3d07e225bea90488a7f6c3108", "sha256": "ce0d2cb1ed5721dc763de8c5f8e384f3f832203499a3b499b8a14841eeefd08c" }, "downloads": -1, "filename": "torrent_domains-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "014f0bd3d07e225bea90488a7f6c3108", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17644, "upload_time": "2019-01-08T00:14:19", "url": "https://files.pythonhosted.org/packages/2c/ed/05e40b9c6830a868715f2718b35de8d85aabb62bd1c659f7df09876f9609/torrent_domains-2.0.1-py3-none-any.whl" } ] }