{ "info": { "author": "Rafay Ghafoor", "author_email": "rafayghafoor@protonmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "SubGrab - Command-line Subtitles Downloader:\n\n============================================\n\n\n\nA python\\ *3* script that allows you to download subtitles for\n\nTV-Series, Anime and Movies from multiple sites.\n\n\n\n|Codacy Badge|\n\n\n\nIndex:\n\n======\n\n\n\n- `Installation `__\n\n- `Requirements `__\n\n- `Supported\n\n Sites `__\n\n- `Preview `__\n\n- `Usage `__\n\n- `Examples `__\n\n- `Features `__\n\n- `Changelog `__\n\n- `Features\n\n Upcoming `__\n\n\n\nStatus/Version:\n\n===============\n\n\n\n- Beta Release.\n\n- Current Version: 0.17\n\n\n\nInstallation:\n\n=============\n\n\n\n- Via Repo:\n\n\n\n ::\n\n\n\n git clone https://github.com/RafayGhafoor/Subscene-Subtitle-Grabber\n\n cd Subscene-Subtitle-Grabber\n\n python setup.py install\n\n\n\n- Via PIP:\n\n\n\n``pip install subgrab``\n\n\n\nPreview:\n\n========\n\n\n\n|asciicast|\n\n\n\nProviders Supported:\n\n====================\n\n\n\nFollowing sites can be used for subtitle downloading:\n\n\n\n.. raw:: html\n\n\n\n
\n\n\n\n+------------------------------------------+\n\n| Supported Sites |\n\n+==========================================+\n\n| SUBSCENE ``(-m)`` |\n\n+------------------------------------------+\n\n| ALLSUBDB ``(default for directories)`` |\n\n+------------------------------------------+\n\n\n\n.. raw:: html\n\n\n\n
\n\n\n\nUsage:\n\n======\n\n\n\n::\n\n\n\n Usage:\n\n\n\n subgrab [-h] [-d directory path] [-m Name of the movie/season] [-s Silent Mode]\n\n [-c Number of Subtitles to be downloaded] [-l Custom language]\n\n\n\n Options:\n\n\n\n -h, --help Show this help message and exit.\n\n\n\n -d DIR, --dir DIR Specify directory to work in.\n\n\n\n -m MOVIE_NAME [MOVIE_NAME ...], --movie-name MOVIE_NAME [MOVIE_NAME ...]\n\n Provide Movie Name.\n\n\n\n -s, --silent Silent mode.\n\n\n\n -c COUNT, --count COUNT\n\n Number of subtitles to be downloaded.\n\n\n\n -l LANG, --lang LANG Change language.\n\n\n\nExamples:\n\n=========\n\n\n\n.. code:: python\n\n\n\n subgrab # To run in current working directory.\n\n\n\n subgrab -m Doctor Strange # For custom movie subtitle download.\n\n\n\n subgrab -m Doctor Strange -s # Silent mode (No prompts i.e., title selection [if not found]).\n\n\n\n subgrab -d \"DIRECTORY_PATH\" # For specific directory.\n\n\n\n subgrab -m The Intern 2015 -s -l AR # Language specified (First two characters of the language).\n\n\n\n subgrab -m The Intern 2015 -c 3 -s # Download 3 subtitles for the movie.\n\n\n\nChangelog:\n\n==========\n\n\n\n- `Changelog `__\n\n\n\nNote:\n\n=====\n\n\n\n- (For Windows) To use it from the context menu, paste subtitle.bat\n\n file in \"shell:sendto\" (By typing this in RUN). Taken from Manojmj\n\n subtitles script.\n\n\n\nFeatures:\n\n=========\n\n\n\n- Two Mode (CLI and Silent inside individual media downloading [-m]) -\n\n CLI mode is executed when the title (provided i.e. media name) is not\n\n recognized by the site. Mostly when year is not provied (when two or\n\n more media names collide). Silent mode is usually executed when year\n\n is provided in the argument. Optional, you can also specify silent\n\n mode argument - which forces to download subtitles without title\n\n selection prompt. The media argument (-m) followed by the silent mode\n\n (-s) argument forces silent mode.\n\n\n\n- Subtitles count argument added which allows you to download multiple\n\n subtitles for an individual media. This is useful when the exact\n\n match is not found and you can download multiple srt files and check\n\n them if they are in sync with the media file (integrated in v0.12).\n\n\n\n- Added multiple languages support (v0.12).\n\n\n\n- Allows you to download subtitles for movies by specifying movie name\n\n and year (optional).\n\n\n\n- Allows you to download subtitles for media files in a specified\n\n directory.\n\n\n\n- Cross-platform (Tested on Linux and Windows).\n\n\n\n- Logs generation on script execution (v0.15)\n\n\n\n- Added Support for the SubDb (v0.16), now first preference for\n\n downloading subtitles is SubDB in downloading subtitles from a\n\n directory.\n\n\n\nRequirements:\n\n=============\n\n\n\n- Python 3\n\n- Requests\n\n- BeautifulSoup\n\n\n\nTODO:\n\n=====\n\n\n\n- [x] Adding support for more languages.\n\n- [x] Adding flags.\n\n- [X] Support for AllSubDB .\n\n- [ ] Support for OpenSubtitles, YifySubtitles.\n\n- [ ] Auto-Sync subtitle naming with the media file when downloaded\n\n from subscene.\n\n- [ ] A GUI box which creates a dialogue box (consisting of tick and\n\n cross), which waits for the user to check if the subtitle downloaded\n\n is synchronized with media file or not - if clicked cross, downloads\n\n another subtitle (Process gets repeated unless, correctly\n\n synchronized).\n\n- [ ] Watch-folder feature (runs as a service). # Useful for movies\n\n automatically downloaded on servers.\n\n- [ ] Argument handling (Replace Argsparse with Click).\n\n- [ ] Using Tabulate for monitoring directory subtitle downloading\n\n progress. Three Columns [#, Movie\\_Folder, Status].\n\n- [ ] Better Logging.\n\n- [ ] Download subtitles for movies contained in a directory of X year.\n\n- [X] Adding silent mode for downloading subtitles.\n\n- [X] Adding CLI mode for manually downloading subtitles.\n\n- [X] Implement Logging.\n\n- [X] Implementation for seasons episodes.\n\n- [X] Different search algorithms implementation for precise results.\n\n- [X] Improving CLI Mode by displaying the menu according to the site.\n\n- [ ] Multiple subtitle language support also associated with the count\n\n variable.\n\n\n\n::\n\n\n\n For example:\n\n >>> subgrab -m Doctor Strange -s -l AR, EN, SP -c 3\n\n should download 3 subtitles for each language specified\n\n\n\n- [ ] An option to print list of movies which has subtitles.\n\n- [ ] Creating options in context menu.\n\n- [ ] Display menu which enables to download subtitles for selected\n\n directories. (Supporting ranges)\n\n\n\n::\n\n\n\n For Examples:\n\n (0) Movie 1\n\n (1) Movie 2\n\n .\n\n .\n\n (10) Movie 10\n\n ------------------------------------------------------------------------------------------------------\n\n (Interactive Prompt)\n\n > 1-3, 6,7,10\n\n\n\n will download subtitles for the directories specified.\n\n\n\n.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/1f1ddff652d14f60bbf2f8d0b6c11cc8\n\n :target: https://www.codacy.com/app/RafayGhafoor/Subscene-Subtitle-Grabber?utm_source=github.com&utm_medium=referral&utm_content=RafayGhafoor/Subscene-Subtitle-Grabber&utm_campaign=Badge_Grade\n\n.. |asciicast| image:: https://asciinema.org/a/4tZ08jjH7yeITtYK6bpsrH5c5.png\n\n :target: https://asciinema.org/a/4tZ08jjH7yeITtYK6bpsrH5c5?speed=2\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/RafayGhafoor/Subscene-Subtitle-Grabber", "keywords": "subtitle automation subscene opensubtitles media", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "subgrab", "package_url": "https://pypi.org/project/subgrab/", "platform": "", "project_url": "https://pypi.org/project/subgrab/", "project_urls": { "Homepage": "https://github.com/RafayGhafoor/Subscene-Subtitle-Grabber" }, "release_url": "https://pypi.org/project/subgrab/0.17/", "requires_dist": [ "requests", "bs4", "lxml" ], "requires_python": "", "summary": "A python script for automating subtitles downloading.", "version": "0.17" }, "last_serial": 3324156, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d9387c7ef0cbc6117175d9aa1fcca624", "sha256": "ec46eb294948539a05b1a3a12fa5f9c63137679dfeebfb021ee6dfeda31f7630" }, "downloads": -1, "filename": "subgrab-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "d9387c7ef0cbc6117175d9aa1fcca624", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7351, "upload_time": "2017-08-28T11:47:26", "url": "https://files.pythonhosted.org/packages/a9/43/b8ff745b67fb9dc243e39dbc4ffee3c3546a7039e8b61f5aa3fea98f83c0/subgrab-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "819c8c6a0446ac4daddd91a694d1a6d3", "sha256": "696fecd43207fe94926807c62e4ac14635a92802dc773676cdb8ec4110355379" }, "downloads": -1, "filename": "subgrab-0.1.zip", "has_sig": false, "md5_digest": "819c8c6a0446ac4daddd91a694d1a6d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8039, "upload_time": "2017-08-28T11:47:27", "url": "https://files.pythonhosted.org/packages/a3/72/c8240b0ba635767e52fed5ba955ad81de749801ec863753d4955520687ab/subgrab-0.1.zip" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "198935f481ad4406a89b499c2abefeda", "sha256": "08163aa46a4865b1da805074aedbc0a393acb3ed3c33dcd8444af7832b470a8d" }, "downloads": -1, "filename": "subgrab-0.12.zip", "has_sig": false, "md5_digest": "198935f481ad4406a89b499c2abefeda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12846, "upload_time": "2017-08-31T11:17:58", "url": "https://files.pythonhosted.org/packages/f3/55/c873b56dc021f56c20f0ec8bbd602043fe3446f7eddb93f8bc7d7c23851f/subgrab-0.12.zip" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "76ce365648c307195e94d25acc3273c8", "sha256": "9f5c43e605e806eca3fa20785a50748a84201b8c00768a567684309027f06bdd" }, "downloads": -1, "filename": "subgrab-0.13.zip", "has_sig": false, "md5_digest": "76ce365648c307195e94d25acc3273c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12854, "upload_time": "2017-08-31T13:02:27", "url": "https://files.pythonhosted.org/packages/00/e4/978e8b4aa557b6ad9eadbde57764ceef43d1cae0100d978424ccf20cc8e1/subgrab-0.13.zip" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "e7a5dd64cccb28568b27d62acc53450e", "sha256": "0ba8cfe8bc149c2b8ad2f008b423016865ff390751d825c42855f8e943cf29d8" }, "downloads": -1, "filename": "subgrab-0.14-py2-none-any.whl", "has_sig": false, "md5_digest": "e7a5dd64cccb28568b27d62acc53450e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10988, "upload_time": "2017-09-03T18:01:53", "url": "https://files.pythonhosted.org/packages/a5/b8/4091bed17b6674d11226e8762ba10caec25aa68ce5c80418720e18d6ab60/subgrab-0.14-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d05da580630698daa168f28b75dfd393", "sha256": "eaf715e5d7478e7e9bd6c447bef25bacbae163ecc54b821f909555fe2e3691c8" }, "downloads": -1, "filename": "subgrab-0.14.tar.gz", "has_sig": false, "md5_digest": "d05da580630698daa168f28b75dfd393", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7758, "upload_time": "2017-09-03T18:01:57", "url": "https://files.pythonhosted.org/packages/9b/a1/88ccefedfa7c1cebdb13bf5c05d9a4be6d1750bf2d406c2f892a3c7a94f8/subgrab-0.14.tar.gz" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "3596d4fe4f252e5f2a903a163d1e8d1c", "sha256": "eb815b3857378e0fd297f5b52aaec99634a3843b168872d6ae0b75d7fb178537" }, "downloads": -1, "filename": "subgrab-0.15-py2-none-any.whl", "has_sig": false, "md5_digest": "3596d4fe4f252e5f2a903a163d1e8d1c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11613, "upload_time": "2017-09-14T08:43:20", "url": "https://files.pythonhosted.org/packages/5e/a3/15feef38afc35fc0cc32d51465a5752ee979d2dd5fc5bcc0eef03df9736a/subgrab-0.15-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7016ea5d3f2f963200b0b1165fa8024f", "sha256": "ab9b17749dc375d7c9c7d70a7a173be4ea82ab5dcdf2fe884883c57c3194f008" }, "downloads": -1, "filename": "subgrab-0.15.tar.gz", "has_sig": false, "md5_digest": "7016ea5d3f2f963200b0b1165fa8024f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8996, "upload_time": "2017-09-14T08:43:22", "url": "https://files.pythonhosted.org/packages/53/47/dee92e399eb8c5245e240f111615f2b5aeda0f4663e28222ae2976ca2fc0/subgrab-0.15.tar.gz" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "9a2bbd950e785184b193c93790e5704c", "sha256": "91db755a03350956aff73d5c8de919da0a779362731c3dc4a4eeaff85ff22133" }, "downloads": -1, "filename": "subgrab-0.16.zip", "has_sig": false, "md5_digest": "9a2bbd950e785184b193c93790e5704c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14680, "upload_time": "2017-09-17T07:49:21", "url": "https://files.pythonhosted.org/packages/24/9c/1151e870e398cbfc44e80f5282cd61aaea54b930d77e0238847655045c18/subgrab-0.16.zip" } ], "0.16.2": [ { "comment_text": "", "digests": { "md5": "486602f847f5192b74b5bf3b1d5d3344", "sha256": "64d6672d42b52160a03f83d948247f4cd2aacbe499b54739ee2ce441461eb614" }, "downloads": -1, "filename": "subgrab-0.16.2-py3-none-any.whl", "has_sig": false, "md5_digest": "486602f847f5192b74b5bf3b1d5d3344", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12918, "upload_time": "2017-10-15T14:28:53", "url": "https://files.pythonhosted.org/packages/88/cd/b5b3f791c8c1b467b7d181016da976080f7bdf62cae422680cf79c0548a9/subgrab-0.16.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d317d9ce36d2069f730b09754184fd3f", "sha256": "c269ace098a72239a04787cce76df1146b81a554d421c105d3a63fd95b152e4d" }, "downloads": -1, "filename": "subgrab-0.16.2.tar.gz", "has_sig": false, "md5_digest": "d317d9ce36d2069f730b09754184fd3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8610, "upload_time": "2017-10-15T14:28:54", "url": "https://files.pythonhosted.org/packages/28/f1/fc98b3093c9865f92bae5234ba497f8e6de53875392e30e5753b6d8bf082/subgrab-0.16.2.tar.gz" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "d992c2ddc48406c55fb5d0e06e76c274", "sha256": "829635c2eef07810d1c668190e359021bc7a3de9cc49630c286489b883aedede" }, "downloads": -1, "filename": "subgrab-0.17-py3-none-any.whl", "has_sig": false, "md5_digest": "d992c2ddc48406c55fb5d0e06e76c274", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15508, "upload_time": "2017-11-11T10:15:16", "url": "https://files.pythonhosted.org/packages/a9/ba/7cde8adfcf3395be8e8c79d47f8b712ccd71f23b3224a8fd39487a6bbad5/subgrab-0.17-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aaf422746034fc07abb821ac787933f8", "sha256": "1f9a11f17c39f98a2da7f7cd36b4b6d24b7f15095c9f713351b6a960ef0a5b38" }, "downloads": -1, "filename": "subgrab-0.17.zip", "has_sig": false, "md5_digest": "aaf422746034fc07abb821ac787933f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18939, "upload_time": "2017-11-11T10:15:18", "url": "https://files.pythonhosted.org/packages/63/33/34beadb6e230c9541f8f44545b3c2ceabe1b04a69f0dd790c30b52ee636e/subgrab-0.17.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d992c2ddc48406c55fb5d0e06e76c274", "sha256": "829635c2eef07810d1c668190e359021bc7a3de9cc49630c286489b883aedede" }, "downloads": -1, "filename": "subgrab-0.17-py3-none-any.whl", "has_sig": false, "md5_digest": "d992c2ddc48406c55fb5d0e06e76c274", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15508, "upload_time": "2017-11-11T10:15:16", "url": "https://files.pythonhosted.org/packages/a9/ba/7cde8adfcf3395be8e8c79d47f8b712ccd71f23b3224a8fd39487a6bbad5/subgrab-0.17-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aaf422746034fc07abb821ac787933f8", "sha256": "1f9a11f17c39f98a2da7f7cd36b4b6d24b7f15095c9f713351b6a960ef0a5b38" }, "downloads": -1, "filename": "subgrab-0.17.zip", "has_sig": false, "md5_digest": "aaf422746034fc07abb821ac787933f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18939, "upload_time": "2017-11-11T10:15:18", "url": "https://files.pythonhosted.org/packages/63/33/34beadb6e230c9541f8f44545b3c2ceabe1b04a69f0dd790c30b52ee636e/subgrab-0.17.zip" } ] }