{ "info": { "author": "Jashandeep Sohi", "author_email": "jashandeep.s.sohi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3 :: Only" ], "description": "nrksub\n======\nDownload, translate subtitles for NRK TV programs.\n\nDependencies\n------------\n- Python 3.4+\n- Beautiful Soup 4\n- Requests\n\nUsage\n-----\nTo download subtitles for a programs, provide it's URL as the first argument::\n\n $ url='https://tv.nrk.no/serie/side-om-side/MUHH48000415/sesong-3/episode-4'\n $ ./nrksub.py $url\n\nHelp\n****\nAll command line options and arguments, and their purposes can be queried using\nthe help switch::\n\n $ ./nrksub.py --help\n\nFile\n****\nBy default, nrksub will print the subtitles out to STDOUT. To write to a file,\nprovide a file name as the second argument::\n\n $ ./nrksub.py $url nytt-paa-nytt-26-12-2014.srt\n\nTranslate\n*********\nnrksub can translate the Norwegian subtitles provided by NRK automatically using\nGoogle Translate. The translations are by no means perfect, but they are better\nthan nothing. By default, the subtitles are translated to English, but you can\nuse any language supported by Google Translate::\n\n $ ./nrksub.py --lang es $url\n Spanish output\n $ ./nrksub.py --lang de $url\n German output\n\nIf you want the original Norwegian subtitles, set the language to ``no``\n(for Norwegian). This will skip the translation process::\n\n $ ./nrksub.py --lang no $url\n\nFormat\n******\nBy default, nrksub will output SRT format subtitles. nrksub can also output\nTTML format subtitles, but this is mostly for debugging purposes and of little\nuse, as rarely any video player supports them::\n\n $ ./nrksub.py --format ttml $url\n\nMore formats maybe added in the future, if I have the time.\n\n.. vim: tabstop=1 expandtab", "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/jashandeep-sohi/nrksub", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "nrksub", "package_url": "https://pypi.org/project/nrksub/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nrksub/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jashandeep-sohi/nrksub" }, "release_url": "https://pypi.org/project/nrksub/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "Download, translate subtitles for NRK TV programs.", "version": "0.4.0" }, "last_serial": 1745292, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "30a36c6fe5766b7eaeebf6070ded2409", "sha256": "47867920d7068ea4d53b0403d262267c4276f43344539e1caa9460fb44f99f72" }, "downloads": -1, "filename": "nrksub-0.2.0.tar.bz2", "has_sig": false, "md5_digest": "30a36c6fe5766b7eaeebf6070ded2409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14549, "upload_time": "2015-04-03T00:04:52", "url": "https://files.pythonhosted.org/packages/94/3e/3d2b1298cc7ee7f7c13b94a6c0e8817986b02a6fd19bf78a0fdfa1b75df5/nrksub-0.2.0.tar.bz2" }, { "comment_text": "", "digests": { "md5": "ae48853a58ed8875ebe5135347c3b356", "sha256": "917e0b720899cca4175516a34e2e77253d0fd6ef38c22ff95cb56eac7668d1ad" }, "downloads": -1, "filename": "nrksub-0.2.0.tar.gz", "has_sig": false, "md5_digest": "ae48853a58ed8875ebe5135347c3b356", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16714, "upload_time": "2015-04-03T00:05:09", "url": "https://files.pythonhosted.org/packages/81/30/cbb6c7ca1ef7f820097f92a361421fca68dd9fef3357d5d942f9794d258d/nrksub-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "6850db584c20af1e4343f1446411d3b4", "sha256": "f49531ee6c126c221dbdc69ff30572d634862b95e0f434e45ab472b7fe9e596a" }, "downloads": -1, "filename": "nrksub-0.2.1.tar.bz2", "has_sig": false, "md5_digest": "6850db584c20af1e4343f1446411d3b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14581, "upload_time": "2015-04-03T00:29:45", "url": "https://files.pythonhosted.org/packages/bb/af/43a39aa785c12b888290ba74bfff8d20a5f71117d1838b1a7d4c7cfe89d9/nrksub-0.2.1.tar.bz2" }, { "comment_text": "", "digests": { "md5": "de7ccda66d9df9465f6eda79cc744ff9", "sha256": "07dd1cde91f09c3a73683ad397bbb0d535a83c3c1c46dfb6d4af5c8636c48e04" }, "downloads": -1, "filename": "nrksub-0.2.1.tar.gz", "has_sig": false, "md5_digest": "de7ccda66d9df9465f6eda79cc744ff9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16735, "upload_time": "2015-04-03T00:29:48", "url": "https://files.pythonhosted.org/packages/58/ce/6bf1bd248a0a6db42a8b2e19dde547e5003bf30232a4c45f3565c7df7822/nrksub-0.2.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "5d0d72fc4482ae1ca7e6e5602d555563", "sha256": "53ce55c1a59bc539e55771e4ed66b5a0e5ca6a2b6d6d1fb8086920213da36dab" }, "downloads": -1, "filename": "nrksub-0.4.0.tar.bz2", "has_sig": false, "md5_digest": "5d0d72fc4482ae1ca7e6e5602d555563", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14611, "upload_time": "2015-09-30T09:55:04", "url": "https://files.pythonhosted.org/packages/6f/85/a8b22b7c18a31b93929757285372d1e92b1e00c032ae84ea9c1fc8b7a8ab/nrksub-0.4.0.tar.bz2" }, { "comment_text": "", "digests": { "md5": "f0de545560ffd171456fa873d4327641", "sha256": "df940c6d33b57ae7bdd053cdb74e9002c0c62d901f69f77c72bc7f1b3fa87dff" }, "downloads": -1, "filename": "nrksub-0.4.0.tar.gz", "has_sig": false, "md5_digest": "f0de545560ffd171456fa873d4327641", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16745, "upload_time": "2015-09-30T09:55:19", "url": "https://files.pythonhosted.org/packages/56/83/dce0c796b854894e5b8d1ec647f93acb93f8a8fcd4b3dd93095994e8ff8a/nrksub-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5d0d72fc4482ae1ca7e6e5602d555563", "sha256": "53ce55c1a59bc539e55771e4ed66b5a0e5ca6a2b6d6d1fb8086920213da36dab" }, "downloads": -1, "filename": "nrksub-0.4.0.tar.bz2", "has_sig": false, "md5_digest": "5d0d72fc4482ae1ca7e6e5602d555563", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14611, "upload_time": "2015-09-30T09:55:04", "url": "https://files.pythonhosted.org/packages/6f/85/a8b22b7c18a31b93929757285372d1e92b1e00c032ae84ea9c1fc8b7a8ab/nrksub-0.4.0.tar.bz2" }, { "comment_text": "", "digests": { "md5": "f0de545560ffd171456fa873d4327641", "sha256": "df940c6d33b57ae7bdd053cdb74e9002c0c62d901f69f77c72bc7f1b3fa87dff" }, "downloads": -1, "filename": "nrksub-0.4.0.tar.gz", "has_sig": false, "md5_digest": "f0de545560ffd171456fa873d4327641", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16745, "upload_time": "2015-09-30T09:55:19", "url": "https://files.pythonhosted.org/packages/56/83/dce0c796b854894e5b8d1ec647f93acb93f8a8fcd4b3dd93095994e8ff8a/nrksub-0.4.0.tar.gz" } ] }