{ "info": { "author": "Jing Zhou", "author_email": "gnijuohz@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Project Free TV\n---------------\n\nThis project offers ways to explore the site `Project Free\nTV `__. You can use it to extract\nlinks which can be used with\n`Youtube-dl `__.\n\n|Downloads| |Wheel Status| |License|\n\nGet it\n~~~~~~\n\nInstall with ``pip install project-free-tv``,\n\nOr,\n\nGet the source code and just run ``python setup.py install``\n\nUsage\n~~~~~\n\nTo search for a show you need an instance of ProjectFreeTV.\n\n.. code:: python\n\n\n from freetv import ProjectFreeTV\n\n # create an instance of the site\n pft = ProjectFreeTV()\n\n # search shows with trans in their titles\n\n pft.search_show(\"trans\")\n\n ['Beast Wars Transformers',\n 'Transformers',\n 'Transformers Animated',\n 'Transformers Armada',\n 'Transformers Cyberton',\n 'Transformers Energon',\n 'Transformers Prime',\n 'Transformers Robots In Disguise',\n 'Transformers Robots In Disguise (2015)',\n 'Transparent',\n 'Transporter The Series']\n\nRight now it also lists movies with the keyword in their names.\n\nTo get an instance of a show you don't need an instance of\nProjectFreeTV.\n\n.. code:: python\n\n # create an instance of the show Orphan Black, the case of the name doesn't matter.\n ob = ProjectFreeTV.get_show('orphan black')\n\n # get links for latest 2 episodes of the show\n ob.get_latest_episodes(2)\n [['http://allmyvideos.net/6w209e0ilx4y',\n 'http://allmyvideos.net/ckb82t2wqcdp',\n 'http://allmyvideos.net/vt3rb3z48xro',\n 'http://www.mooshare.biz/1ybh2h7rbt57',\n 'http://www.mooshare.biz/adkqf57ntv5d',\n 'http://www.mooshare.biz/tu575xgbjio9',\n 'http://www.movshare.net/video/fc716bb0cabd6',\n 'http://www.novamov.com/video/07ab880176038',\n 'http://www.nowvideo.ch/video/dab1b4f33de8c',\n 'http://www.videoweed.es/file/6fe98f8c424bb',\n 'http://www.vidspot.net/cer2h88l5k2r',\n 'http://www.vidspot.net/kn6zt3o5twcu',\n 'http://www.vidspot.net/mqjzsu9plw3q'],\n ['http://allmyvideos.net/m06rmgatnlqp',\n 'http://allmyvideos.net/pqsneos7tzvs',\n 'http://www.mooshare.biz/1zta6utfay0u',\n 'http://www.mooshare.biz/cld1kyampv3p',\n 'http://www.movshare.net/video/2fb604f462786',\n 'http://www.novamov.com/video/98017f0ff9324',\n 'http://www.nowvideo.ch/video/d58b8002c3ef7',\n 'http://www.videoweed.es/file/c37a74b9100a0',\n 'http://www.vidspot.net/cb10ys2yct8n',\n 'http://www.vidspot.net/zckx70lune1n']]\n\n\n # create an instance of the show Breaking Bad\n show = pft.get_show('breaking bad')\n\n show.season_count\n 5\n\n # get links for an episode\n show.get_ydl_links(season=3, episode=2)\n ['http://www.movshare.net/video/6a9e17b58bdc4',\n 'http://www.movshare.net/video/l0vjyt7hxlayi',\n 'http://www.novamov.com/video/d1230ae72ebb7',\n 'http://www.novamov.com/video/yunibyknhh2ut',\n 'http://www.nowvideo.ch/video/9cfd1845f0f34',\n 'http://www.videoweed.es/file/341df227846db',\n 'http://www.videoweed.es/file/a397e70c45f7a']\n\n # get links for a whole season\n show.get_ydl_links_for_season(5)\n {1: ['http://www.mooshare.biz/a4tt7rh5f5p7',\n 'http://www.mooshare.biz/k6m2dxw6cfe7',\n 'http://www.mooshare.biz/l9611uymszr4',\n 'http://www.mooshare.biz/y3mhbsv9zgqy',\n 'http://www.mooshare.biz/znx0bn9rjzma',\n 'http://www.novamov.com/video/jw2css68j11gn',\n 'http://www.nowvideo.ch/video/d0676087fb70f',\n 'http://www.nowvideo.ch/video/d0676087fb70f'],\n 2: ['http://www.mooshare.biz/7yxpwt8zybd4',\n 'http://www.mooshare.biz/9ionebould0u',\n 'http://www.mooshare.biz/ff2ntzkutl3b',\n 'http://www.mooshare.biz/kx7fumuvzczi',\n 'http://www.mooshare.biz/llzwbwtotcqd',\n 'http://www.movshare.net/video/zz3r47nzzv1ww',\n 'http://www.novamov.com/video/f363a44e634e1',\n 'http://www.nowvideo.ch/video/0162cf1af5636',\n 'http://www.videoweed.es/file/ccal473givib3'],\n 3: ['http://www.mooshare.biz/3subibu2sa4m',\n 'http://www.mooshare.biz/diig01hef3a4',\n 'http://www.mooshare.biz/t2lgut5f7fk5',\n 'http://www.mooshare.biz/til4eqb4kw4a',\n 'http://www.mooshare.biz/xgnszpnxes39',\n 'http://www.mooshare.biz/yzu6uo6d2n99',\n 'http://www.movshare.net/video/618493115a60f'],\n 4: ['http://www.mooshare.biz/4pk09qsv6peg',\n 'http://www.mooshare.biz/8k5hth1wwc84',\n 'http://www.mooshare.biz/a8fj447eivo7',\n 'http://www.mooshare.biz/in1avq4oco7w',\n 'http://www.mooshare.biz/j69bhqw6k0o5',\n 'http://www.mooshare.biz/s8xq08jul0gu',\n 'http://www.movshare.net/video/872d52b2d6720',\n 'http://www.nowvideo.ch/video/35d6e90d7e5e4',\n 'http://www.nowvideo.ch/video/aea79e12a4dfc',\n 'http://www.videoweed.es/file/2e54d39e33071',\n 'http://www.videoweed.es/file/b78fa9792e44c'],\n 5: ['http://www.mooshare.biz/740haowo6d7i',\n 'http://www.mooshare.biz/av08zl0ssu2b',\n 'http://www.mooshare.biz/c0wk3gr5m2za',\n 'http://www.mooshare.biz/ku1sdhn8si36',\n 'http://www.mooshare.biz/mq8w96p44sct',\n 'http://www.movshare.net/video/34a1f0672ca46',\n 'http://www.nowvideo.ch/video/b0ba5b74f4acd'],\n 6: ['http://www.mooshare.biz/0dm57i8kscbz',\n 'http://www.mooshare.biz/5syv06nga4rt',\n 'http://www.mooshare.biz/nj7w3wla5vx0',\n 'http://www.mooshare.biz/stsc572dsl9l',\n 'http://www.mooshare.biz/wh76r1gbwfey',\n 'http://www.movshare.net/video/8a83619f139d5',\n 'http://www.novamov.com/video/20c4e4c1f5c95',\n 'http://www.nowvideo.ch/video/2862109ee12b5',\n 'http://www.videoweed.es/file/396446dbd0eb1'],\n 7: ['http://www.mooshare.biz/06lxtdsqhf0l',\n 'http://www.mooshare.biz/ipc902bw8agk',\n 'http://www.mooshare.biz/sc0zv9s8s2dd',\n 'http://www.mooshare.biz/wxxmkueih4jq',\n 'http://www.movshare.net/video/cf7c1dca79619',\n 'http://www.nowvideo.ch/video/3121253839d7c',\n 'http://www.videoweed.es/file/726478af27de6'],\n 8: ['http://www.mooshare.biz/axeglnltsoft',\n 'http://www.mooshare.biz/gpae4ts2tb76',\n 'http://www.movshare.net/video/3cb646131cdcf',\n 'http://www.nowvideo.ch/video/fbe957ced95fa',\n 'http://www.videoweed.es/file/75713e72e94a4'],\n 9: ['http://www.mooshare.biz/2fg3rqqsbu72',\n 'http://www.mooshare.biz/70hqaxgbzqan',\n 'http://www.mooshare.biz/822fhl0wn3tj',\n 'http://www.mooshare.biz/a0pne1gv983d',\n 'http://www.mooshare.biz/ddnh9eobql7n',\n 'http://www.mooshare.biz/hq7g4uur8bxm',\n 'http://www.mooshare.biz/olrditvdsmd1',\n 'http://www.mooshare.biz/suxn3gg9p7mv',\n 'http://www.mooshare.biz/tjtgiecrnrgv',\n 'http://www.movshare.net/video/82f745085fd3d',\n 'http://www.novamov.com/video/t52llt5qeqa90',\n 'http://www.nowvideo.ch/video/37a390f4f3080',\n 'http://www.videoweed.es/file/8c341a8aa2b3a'],\n 10: ['http://www.mooshare.biz/5uz7p27k6vew',\n 'http://www.mooshare.biz/ikdf7wufciah',\n 'http://www.mooshare.biz/thx8he0i3jp2',\n 'http://www.mooshare.biz/vbf6q42o290i',\n 'http://www.mooshare.biz/w664fahllv3q',\n 'http://www.mooshare.biz/w7dvubjfd9qn',\n 'http://www.mooshare.biz/zkmut4xyt4c7',\n 'http://www.movshare.net/video/88a2e9a228353',\n 'http://www.novamov.com/video/92gb1hf01f7tg',\n 'http://www.nowvideo.ch/video/e9119676eb6fb',\n 'http://www.videoweed.es/file/f3536010f5825'],\n 11: ['http://www.mooshare.biz/3aobloqpu810',\n 'http://www.mooshare.biz/rta2d1iqm0yt',\n 'http://www.mooshare.biz/v0x6558ghcv1',\n 'http://www.mooshare.biz/va8tbfe2ms3r',\n 'http://www.mooshare.biz/ziehuzmwusq1',\n 'http://www.videoweed.es/file/deb000a1cbbe9'],\n 12: ['http://www.mooshare.biz/0uy3j8ks5i8w',\n 'http://www.mooshare.biz/db7gsmgxos02',\n 'http://www.mooshare.biz/lkrxw41sxnyj',\n 'http://www.mooshare.biz/nc9bm6dlf58f',\n 'http://www.novamov.com/video/e1c6721b57368'],\n 13: ['http://www.mooshare.biz/4lo24fy2l4lv',\n 'http://www.mooshare.biz/l0v2l33dvex3',\n 'http://www.mooshare.biz/sdkpshf71d91',\n 'http://www.mooshare.biz/tiyqnxpuofw8',\n 'http://www.novamov.com/video/d7b3fcaa8177a',\n 'http://www.videoweed.es/file/66de25eb444cf'],\n 14: ['http://www.mooshare.biz/3gw5cyl99def',\n 'http://www.mooshare.biz/6b2y2deswp9l',\n 'http://www.mooshare.biz/chsv9l6yh8jm',\n 'http://www.mooshare.biz/onqh24pc3i8r',\n 'http://www.mooshare.biz/wb53jiu0fm0w',\n 'http://www.movshare.net/video/7184a8bf4c380',\n 'http://www.videoweed.es/file/8c8c8945e8e03'],\n 15: ['http://www.mooshare.biz/009zqn5zl8rn',\n 'http://www.mooshare.biz/3eskcb56cly0',\n 'http://www.mooshare.biz/xzjqmmxj0ngn',\n 'http://www.videoweed.es/file/c737bc26f5fe9'],\n 16: ['http://allmyvideos.net/2u5d5kf6jfen',\n 'http://allmyvideos.net/qax5xf2xn4pp',\n 'http://www.mooshare.biz/33o8penrrf8g',\n 'http://www.mooshare.biz/80e6uaqtmuuw',\n 'http://www.mooshare.biz/8fxzawlmg3b1',\n 'http://www.mooshare.biz/c3ezpqbdc6ac',\n 'http://www.mooshare.biz/h4s8ri5agyrb',\n 'http://www.mooshare.biz/oqtuzh0nkc2v',\n 'http://www.mooshare.biz/qfi6vq0bo4th',\n 'http://www.movshare.net/video/adfc6b558bf01',\n 'http://www.videoweed.es/file/cfdeff583830c',\n 'http://www.vidspot.net/kz8t7o6ttz0l',\n 'http://www.vidspot.net/tm2doxyad68j']}\n\nExample\n~~~~~~~\n\nA script that makes use of the APIs to download the latest few episodes\nof several TV shows is under the directory ``examples``.\n\nDependency\n~~~~~~~~~~\n\n| This project depends on ``requests`` and ``lxml``.\n| The example script in the examples directory also used\n `subliminal `__ to download\n subtitles. You should install it from source because the version from\n ``pip`` is outdated.\n| The example script also used ``Youtube-dl`` to download videos.\n\nContribute\n~~~~~~~~~~\n\nFeel free to contribute to this project as much improvement can be done.\nAny feedback is also greatly appreciated.\n\n.. |Downloads| image:: https://pypip.in/download/project-free-tv/badge.svg?style=flat\n :target: https://pypi.python.org/pypi/project-free-tv/\n.. |Wheel Status| image:: https://pypip.in/wheel/project-free-tv/badge.svg?style=flat\n :target: https://pypi.python.org/pypi/project-free-tv/\n.. |License| image:: https://pypip.in/license/project-free-tv/badge.svg?style=flat\n :target: https://pypi.python.org/pypi/project-free-tv/\n", "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/gnijuohz/Project-Free-TV-API", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "project-free-tv", "package_url": "https://pypi.org/project/project-free-tv/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/project-free-tv/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gnijuohz/Project-Free-TV-API" }, "release_url": "https://pypi.org/project/project-free-tv/0.2.6/", "requires_dist": null, "requires_python": null, "summary": "Unoffical Project Free TV API", "version": "0.2.6" }, "last_serial": 1556009, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "a68b0bc57e3e3676591797754ec7455d", "sha256": "1d8496f4bd89f7777c4f7c6fe8d4f2caabdf8cd26edb90710cf279b453f44e9d" }, "downloads": -1, "filename": "project-free-tv-0.2.tar.gz", "has_sig": false, "md5_digest": "a68b0bc57e3e3676591797754ec7455d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5505, "upload_time": "2015-05-18T21:43:38", "url": "https://files.pythonhosted.org/packages/12/d9/9696794080885ce10afa8652524a2a40b21447cfe08a2b0f9dd7bb3698cc/project-free-tv-0.2.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "aff21588c676a8a63be71df17b77c6d3", "sha256": "da30d92ff6d777cbe92b447608bef55754cdf0ad17fdd15daab9e3cb9f55fa2f" }, "downloads": -1, "filename": "project-free-tv-0.2.5.tar.gz", "has_sig": false, "md5_digest": "aff21588c676a8a63be71df17b77c6d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7029, "upload_time": "2015-05-21T05:07:02", "url": "https://files.pythonhosted.org/packages/9f/9b/c8397da235a027812bf9f85ae35b604b9cef78b4abae2a2e87b127cce353/project-free-tv-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "4d0db0f060269bacd80f9c1aab2bf863", "sha256": "32e12255cf4d878ac6d6e78ef0fe787daf8edff9b0cbbee20426fbbbf80a3d79" }, "downloads": -1, "filename": "project-free-tv-0.2.6.tar.gz", "has_sig": false, "md5_digest": "4d0db0f060269bacd80f9c1aab2bf863", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7025, "upload_time": "2015-05-21T05:24:31", "url": "https://files.pythonhosted.org/packages/3c/9b/7f6a594010f0049d45e313ea3ba0300a9d5a79b570c7391730650d8df9b1/project-free-tv-0.2.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d0db0f060269bacd80f9c1aab2bf863", "sha256": "32e12255cf4d878ac6d6e78ef0fe787daf8edff9b0cbbee20426fbbbf80a3d79" }, "downloads": -1, "filename": "project-free-tv-0.2.6.tar.gz", "has_sig": false, "md5_digest": "4d0db0f060269bacd80f9c1aab2bf863", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7025, "upload_time": "2015-05-21T05:24:31", "url": "https://files.pythonhosted.org/packages/3c/9b/7f6a594010f0049d45e313ea3ba0300a9d5a79b570c7391730650d8df9b1/project-free-tv-0.2.6.tar.gz" } ] }