{ "info": { "author": "Thiago Kenji Okada", "author_email": "thiago DOT mast3r AT gmail DOT com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Video", "Topic :: Utilities" ], "description": "crunchy2mkv\n===========\n\nDownload .flv videos from Crunchyroll (and maybe other sites) and convert them to .mkv.\n---------------------------------------------------------------------------------------\n\n\nIntroduction\n~~~~~~~~~~~~\n\nThis program downloads videos from various video sites like Crunchyroll, Dailymotion, NicoNico, YouTube, and `many more`_, converting them to .mkv format afterwards (without reencoding the video). It uses the `youtube-dl`_ and mkvmerge (from `mkvtoolnix`_) for this purpose.\n\nTo run this program, you just need to call it like this:\n\n::\n\n $ crunchy2mkv http://www.crunchyroll.com/fatekaleid-liner-prisma-illya/episode-1-illya-grow-up-657285\n\nThis will download this video in the highest quality that is possible in the current folder (you can change this passing the ``-r /path/to/folder`` option). You can download multiple files calling the program with multiple URLs. If the service limits videos only for premium users you can pass your login information like this:\n\n::\n\n $ crunchy2mkv -u username -p password http://www.crunchyroll.com/fatekaleid-liner-prisma-illya/episode-1-illya-grow-up-657285\n\nRun like this:\n\n::\n\n $ crunchy2mkv -h\n\nTo get a list of all available options.\n\nThere is no configuration file! You can change some defaults by changing the following environment variables:\n\n- ``C2M_RESULT_PATH``: set the desired output path (example: ``/home/m45t3r/Videos`` or ``C:\\Videos``);\n- ``C2M_VERBOSE``: use ``True`` for verbose output, use ``False`` to only print user friendly messages (default);\n- ``C2M_USERNAME`` and ``C2M_PASSWORD``: set your username and password;\n- ``C2M_QUALITY``: set the desired default quality (some valid options: ``worst``, ``360p``, ``480p``, ``720p``, ``1080p``, ``best``)\n- ``C2M_SUBS``: set desired subtitle langauge (valid examples: ``all``, ``en``, ``en,pt``, ``\"\"``)\n\nHow to install\n~~~~~~~~~~~~~~\n\nYou need to have both ``youtube-dl`` and ``mkvmerge`` (part of ``mkvtoolnix``) installed and added somewhere on your PATH. Probably the best way is to use your distribution packages to install this program. Some distribution commands to install both:\n\n::\n\n $ sudo pacman -S youtube-dl mkvtoolnix-cli Arch Linux\n\nAfter that just run ``crunchy2mkv`` using the full path, or added it somewhere in your path.\n\n::\n\n $ /random/path/crunchy2mkv -v or PATH=/random/path:${PATH} crunchy2mkv -v\n\nDifference between crunchy2mkv and livedumper\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe main difference between both is that crunchy2mkv uses `youtube-dl`_, while `livedumper`_ uses `livestreamer`_. This makes the behavior between the two slightly different.\n\nFor example, in `Crunchyroll`_ livestreamer emulates the PS3 API, that brings high quality videos using the HLS protocol. Using this protocol makes Crunchyroll send hardcoded subtitles (i.e. encoded with the video). For instance, youtube-dl hacks the available Flash Video player to get the audio/video/subtitles. The Crunchyroll's Flash Video player are actually special since they support a encrypt version of Advance Substation Alpha subtitles, so the result are softsub videos that can even include subtitles from different languages.\n\ncrunchy2mkv is very simple: it's basically a script that wrappers both ``youtube-dl`` and ``mkvmerge``. It's not as powerfull as livedumper was, but this made the code much simpler and smaller.\n\nAbout Python versions\n~~~~~~~~~~~~~~~~~~~~~\n\nThis program should be compatible both with ``Python 2.7.x`` and ``Python 3.2+``, but is only tested in ``Python 3.4.x``. Should something not work, if it's in ``Python 2.7.x`` I may drop support depending if it's too hard to fix (but please report, I will at least take a look on the issue). If it's ``Python 3.2+`` I will treat it as a bug so you can report and I will try to fix it.\n\n\nCredits\n~~~~~~~\n\nThis project is based on `youtube-dl`_ and `mkvtoolnix`_ projects. Thanks!\n\n.. _`youtube-dl`: https://rg3.github.io/youtube-dl/\n.. _`many more`: https://rg3.github.io/youtube-dl/supportedsites.html\n.. _`mkvtoolnix`: https://www.bunkus.org/videotools/mkvtoolnix/\n.. _`livedumper`: https://github.com/m45t3r/livedumper\n.. _`livestreamer`: http://docs.livestreamer.io/\n.. _`Crunchyroll`: http://www.crunchyroll.com/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/m45t3r/crunchy2mkv", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "crunchy2mkv", "package_url": "https://pypi.org/project/crunchy2mkv/", "platform": "Linux,Mac OSX,Windows", "project_url": "https://pypi.org/project/crunchy2mkv/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/m45t3r/crunchy2mkv" }, "release_url": "https://pypi.org/project/crunchy2mkv/0.1/", "requires_dist": null, "requires_python": null, "summary": "Download .flv videos from Crunchyroll (and maybe other sites) and convert them to .mkv.", "version": "0.1" }, "last_serial": 1553765, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ad87cb83be36aad8f0680b77c2373b26", "sha256": "ba17dc0a4dd07042eea4fbfa3179701e2d2cbb6a68b9e8ef0922d034c4c9cbb0" }, "downloads": -1, "filename": "crunchy2mkv-0.1.tar.gz", "has_sig": false, "md5_digest": "ad87cb83be36aad8f0680b77c2373b26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5649, "upload_time": "2015-05-19T21:25:47", "url": "https://files.pythonhosted.org/packages/53/98/ca8154d0dda39527d2e75a6b86db868f62a22bcd04f82c60b5617d3de9bc/crunchy2mkv-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad87cb83be36aad8f0680b77c2373b26", "sha256": "ba17dc0a4dd07042eea4fbfa3179701e2d2cbb6a68b9e8ef0922d034c4c9cbb0" }, "downloads": -1, "filename": "crunchy2mkv-0.1.tar.gz", "has_sig": false, "md5_digest": "ad87cb83be36aad8f0680b77c2373b26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5649, "upload_time": "2015-05-19T21:25:47", "url": "https://files.pythonhosted.org/packages/53/98/ca8154d0dda39527d2e75a6b86db868f62a22bcd04f82c60b5617d3de9bc/crunchy2mkv-0.1.tar.gz" } ] }