{ "info": { "author": "Adarsh Raveendra", "author_email": "hello@adarsh.online", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet" ], "description": "|PyPI| |license|\n\ngnfetcher\n===========\n\nAn easy-to-use python client for `Google News\nfeeds `__.\n\ngnfetcher supports Python 2 as well as Python 3.\n\nInstallation\n------------\n\nTo install gnfetcher, simply,\n\n::\n\n $ pip install gnfetcher\n\nTo install and use **gnfetcher CLI**, follow instructions here\n`CLI `__\n\nFilters\n-------\n\nGoogle News feeds use 3 basic filters:\n\n- **Edition**\\ Limits results to a specific edition. There are more\n than 70 regional editions of Google News in many different languages.\n Each edition is specifically tailored with news for that audience.\n\n- **Topic**\\ Limits results to a specific topic. There are several\n custom topics like sports, business, world, health, science,\n politics, etc.\n\n- **Location**\\ Limits results to a specific location.\n\nOther than these, you can also specify:\n\n- **Language**\\ Provides results in specified language. 60+ languages\n are supported.\n\n- **Query**\\ Provide results according to a specific query.\n\nUsage\n-----\n\n- Create a gnfetcher object:\n\n .. code:: python\n\n >>> from gnfetcher import gnfetcher\n >>> client = gnfetcher()\n\n- Get current parameter settings\n\n .. code:: python\n\n >>> client.get_config()\n {'edition': 'United States (English)',\n 'language': 'english',\n 'loaction': None,\n 'query': None,\n 'topic': 'top stories'}\n\n- Get news feed\n\n .. code:: python\n\n >>> client.get_news()\n [{'img': 'https://t1.gstatic.com/images?q=tbn:ANd9GcQ5KFdYdQclmxUdvdV2zYQ_hO7JMrG2864ZDdN9A3GxORmTf_issciogLEEZmA5QIFfRQsyYDlm',\n 'link': 'https://www.washingtonpost.com/world/french-citizens-vote-in-an-uncertain-race-that-could-determine-europes-future/2017/04/23/fd3759ce-1fa4-11e7-bb59-a74ccaf1d02f_story.html',\n 'title': \"French citizens vote in an uncertain race that could determine Europe's future - Washington Post\"},\n {'img': 'https://t0.gstatic.com/images?q=tbn:ANd9GcTfosRmEfpoH40YiX5dyEIgL5rw-OSgcsKGEYhIm15f-OVQmWoidnH5NZD6P1vwaZfpQ33Xt8tZ',\n 'link': 'https://www.washingtonpost.com/national/health-science/big-turnout-expected-for-march-for-science-in-dc/2017/04/21/67cf7f90-237f-11e7-bb9d-8cd6118e1409_story.html',\n 'title': \"Why people are marching for science: 'There is no Planet B' - Washington Post\"},\n {'img': 'https://t2.gstatic.com/images?q=tbn:ANd9GcRw4xGtSrL5ZCpDkp5QHLUBPLgDNCsFFpgjJeOdD2q4w4giPDsDf9G3NOAZeNYWOf8f5V1aYTLu',\n 'link': 'https://www.washingtonpost.com/politics/nearing-100-days-trumps-approval-at-record-lows-but-his-base-is-holding/2017/04/22/a513a466-26b4-11e7-b503-9d616bd5a305_story.html',\n 'title': \"Nearing 100 days, Trump's approval at record lows but his base is holding - Washington Post\"}\n ]\n\n- Changing paramteres\n\n .. code:: python\n\n >>> client.edition = 'India (Hindi)'\n >>> client.topic = 'sports'\n >>> client.language = 'hindi'\n >>> client.get_news()\n [{'img': 'https://t0.gstatic.com/images?q=tbn:ANd9GcTSo3cJx_-NKmtcsAaB8ZNC6tVF-FzU7FxLMmT9GwETYw-h_XmgzE_Ux2Bz3e2dk_iRUsaCIwbY',\n 'link': 'http://aajtak.intoday.in/sports/story/ms-dhoni-is-the-captain-of-shane-warnes-all-time-ipl-eleven-1-925107.html',\n 'title': '\u0935\u0949\u0930\u094d\u0928 \u0915\u0940 IPL \u091f\u0940\u092e \u092e\u0947\u0902 \u092d\u093e\u0930\u0924\u0940\u092f\u094b\u0902 \u0915\u093e \u092c\u094b\u0932\u092c\u093e\u0932\u093e, \u0927\u094b\u0928\u0940 \u0915\u094b \u0938\u094c\u0902\u092a\u0940 \u0915\u092a\u094d\u0924\u093e\u0928\u0940 - \u0906\u091c \u0924\u0915'},\n {'img': 'https://t1.gstatic.com/images?q=tbn:ANd9GcTlK3tT02bbryKfJS_l-fbICNHDUFsaXktMQSnvg_Pi-TWMBknuvBL3OhViOGzhjOcMtig4pg3t',\n 'link': 'http://www.patrika.com/news/kanpur/jwala-gutta-says-up-government-should-make-strategy-for-better-sports-hindi-news-1560241/',\n 'title': '\u092a\u094d\u092f\u093e\u0930 \u0915\u093e \u0915\u0930\u093e\u0930\u0928\u093e\u092e\u093e, \u0907\u0902\u091f\u0930\u0928\u0947\u0936\u0928\u0932 \u092c\u0948\u0921\u092e\u093f\u0902\u091f\u0928 \u092a\u094d\u0932\u0947\u092f\u0930 \u091c\u094d\u0935\u093e\u0932\u093e \u0917\u0941\u091f\u094d\u091f\u093e \u0915\u0947 \u0939\u093e\u0925 \u092a\u0930 \u0928\u091c\u0930 \u0906\u092f\u093e! - Patrika'}\n ]\n\n- Get news by query\n\n .. code:: python\n\n >>> client.query = 'cricket'\n >>> client.get_news()\n [{'img': 'https://t2.gstatic.com/images?q=tbn:ANd9GcTQ6zOoooNhFaXM7bdl2WmmuJkHdE5ED26Mp2QtaRyKELMlBuvc62LmDVgt7-D3m7mgIPGI4vXf',\n 'link': 'http://www.espncricinfo.com/west-indies-v-pakistan-2017/content/story/1094080.html',\n 'title': 'West Indies v Pakistan, 1st Test, Kingston, 2nd day April 22, 2017 - ESPNcricinfo.com'},\n {'img': 'https://t1.gstatic.com/images?q=tbn:ANd9GcRePCUSgV_AXDrzSe59DsO7j6tgdcfWWocnusHc4OtLxNtGNloVuh_HPA1BtibucOTO9r-qwtNL',\n 'link': 'https://thefield.scroll.in/835391/cricket-china-bowled-out-for-28-in-world-league-qualifier',\n 'title': 'Cricket: China bowled out for 28 in World League qualifier - Scroll.in'},\n {'img': 'https://t2.gstatic.com/images?q=tbn:ANd9GcSpVMJHsdo6Q5SxuIzwrBHn7seXis3zwryH5ohRyeLVZj3phQDX1e92HZqW7iODBeJM7mrGf7yH',\n 'link': 'http://www.hindustantimes.com/ipl-2017/live-cricket-score-ipl-2017-t20-mumbai-indians-vs-delhi-daredevils-live/story-CLQVOWa9v8ub7clUSz41LN.html',\n 'title': 'Full Cricket Score, IPL 2017, T20, Mumbai Indians vs Delhi Daredevils: MI beat DD by 14 runs - Hindustan Times'}\n ]\n\n- Get news by location\n\n .. code:: python\n\n >>> client.loaction = 'delhi'\n >>> client.get_news()\n [{'img': 'https://t3.gstatic.com/images?q=tbn:ANd9GcQI4mXbCB-bLvuiCqN1BoAyClMWgllzHy8DG9SCNDr3_dH9JpNpgfqTz8UneHeE85jdi0wknyhF',\n 'link': 'http://timesofindia.indiatimes.com/city/delhi/cops-wrap-city-in-a-multi-layer-security-blanket/articleshow/58305944.cms',\n 'title': 'MCD polls: Cops wrap Delhi in multi-layer security blanket - Times of India'},\n {'img': 'https://t0.gstatic.com/images?q=tbn:ANd9GcTd-gOZQ59kAj-GJ9uEHQ3wbGMF6Y4dI9pkc2B9RI0YyOrBPB4jIljR5zFFRXlB0KjqcuZxkAVl',\n 'link': 'http://www.financialexpress.com/india-news/mcd-polls-2017-heritage-not-on-any-partys-agenda/637968/',\n 'title': \"MCD polls 2017: Heritage not on any party's agenda - Financial Express\"},\n {'img': 'https://t1.gstatic.com/images?q=tbn:ANd9GcRK_YvCPtCF1uiA8aKz3LJLPHFP7zAlPHFkotuxL7Jr8DZBnA-w5HfMCe1Q69J7Cpf_AKKsNKeV',\n 'link': 'http://timesofindia.indiatimes.com/city/delhi/car-owner-booked-for-kashmere-gate-accident/articleshow/58308236.cms',\n 'title': 'Car owner booked for Kashmere Gate accident - Times of India - Times of India'}\n ]\n\n- Get list of available editions, languages and topics\n\n .. code:: python\n\n >>> client.editions\n ['Germany', 'Poland', 'Morocco', 'Colombia', 'India (Telugu)', 'Australia', 'Hungary', 'India (Malayalam)', \n 'United Arab Emirates', 'Lebanon', 'Serbia', 'Canada (English)', 'China', 'United States (English)', \n 'Nigeria', 'Austria', 'Kenya', 'Peru', 'Italy', 'Ghana', 'Ukraine (Russian)', 'Belgium (French)', 'Vietnam', \n 'South Africa', 'Ethiopia', 'Lithuania', 'Philippines', 'Brazil', 'Saudi Arabia', 'India (Hindi)', 'India (Tamil)',\n 'United States (Spanish)', 'Latvia', 'Singapore', 'Norway', 'Sweden', 'Canada (French)', 'Egypt', 'Japan', \n 'Arab world', 'Ukraine (Ukranian)', 'Netherlands', 'Hong Kong', 'Romania', 'United Kingdom', 'Slovakia', \n 'Czech Republic', 'Chile', 'Indonesia', 'France', 'Bangladesh', 'Taiwan', 'Tanzania', 'Argentina', 'Greece', \n 'Mexico', 'Pakistan', 'Bulgaria', 'Senegal', 'Zimbabwe', 'Belgium (Dutch)', 'Uganda', 'Turkey', 'Portugal', \n 'Slovenia', 'Namibia', 'Cuba', 'New Zealand', 'Russia', 'India (English)', 'Botswana', 'Venezuela', 'Israel (Hebrew)',\n 'Thailand', 'Switzerland', 'Israel (English)', 'Ireland', 'Malaysia']\n >>> client.topics\n ['business', 'politics', 'top stories', 'technology', 'world', 'sports', 'entertainment', 'national']\n >>> client.languages\n ['tamil', 'kannada', 'norwegian', 'swedish', 'bulgarian', 'arabic', 'hindi', 'catalan', 'georgian', 'latvian',\n 'albanian', 'japanese', 'english', 'german', 'lithuanian', 'chinese simplified', 'polish', 'czech', 'macedonian',\n 'yiddish', 'turkish', 'dutch', 'urdu', 'serbian', 'basque', 'thai', 'hungarian', 'danish', 'galician', 'latin', \n 'chinese traditional', 'vietnamese', 'portuguese', 'welsh', 'croatian', 'bengali', 'finnish', 'icelandic', \n 'azerbaijani', 'swahili', 'malay', 'korean', 'slovak', 'russian', 'irish', 'spanish', 'belarusian', 'french',\n 'estonian', 'indonesian', 'slovenian', 'italian', 'maltese', 'haitian creole', 'esperanto', 'ukrainian', \n 'afrikaans', 'filipino', 'gujarati', 'hebrew', 'telugu', 'greek', 'persian', 'romanian']\n\n.. |PyPI| image:: https://img.shields.io/badge/PyPi-v1.1.0-f39f37.svg\n :target: https://pypi.python.org/pypi/gnfetcher\n.. |license| image:: https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000\n :target: https://github.com/aadu999/gnfetcher/blob/master/LICENSE.txt\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/aadu999/gnfetcher", "keywords": "google news feed python tool", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gnfetcher", "package_url": "https://pypi.org/project/gnfetcher/", "platform": "", "project_url": "https://pypi.org/project/gnfetcher/", "project_urls": { "Homepage": "http://github.com/aadu999/gnfetcher" }, "release_url": "https://pypi.org/project/gnfetcher/1.0.1/", "requires_dist": [ "requests", "bs4", "html5lib", "Click" ], "requires_python": "", "summary": "Python client for Google News feed.", "version": "1.0.1" }, "last_serial": 4589564, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "91afc90438c435d3751fc3eae14203f9", "sha256": "0d49f856f323473749b08436d81b5b2924929a1a5512877d6a1fe4b24047e16a" }, "downloads": -1, "filename": "gnfetcher-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "91afc90438c435d3751fc3eae14203f9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11032, "upload_time": "2018-12-12T05:49:33", "url": "https://files.pythonhosted.org/packages/48/09/634bdd0e2bd11d633f8314bf7c20c9e30a85eebb28073603299304f2d761/gnfetcher-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc40276a438cf53991fffc2873b26202", "sha256": "2f897952ed6759851096e483af18dd72b3018a27670149c4589dd17c1dd3d860" }, "downloads": -1, "filename": "gnfetcher-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fc40276a438cf53991fffc2873b26202", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9359, "upload_time": "2018-12-12T05:49:35", "url": "https://files.pythonhosted.org/packages/d1/ff/5c000848ad0ffa18cadac244e67dbe24f3ced44c7d01c375444294998503/gnfetcher-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1cd512509ac2eca187953c9d5eade0ff", "sha256": "32f5812d11d9ef831e3c5f8a126d6c03ffd8eda67f90bfd53340b2494b158e5e" }, "downloads": -1, "filename": "gnfetcher-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1cd512509ac2eca187953c9d5eade0ff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11033, "upload_time": "2018-12-12T10:01:35", "url": "https://files.pythonhosted.org/packages/4c/b2/9f0fe7a5aef0879e49e19ab74e66b36591159e3ff4598429a9af6410a28f/gnfetcher-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c84f88bb74f83467f331fb3a297d0c16", "sha256": "f265a2a8eaa7cbc18f1faebf51f309c8c0ea0167d2f58c198ca6ad730d14ac41" }, "downloads": -1, "filename": "gnfetcher-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c84f88bb74f83467f331fb3a297d0c16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9376, "upload_time": "2018-12-12T10:01:37", "url": "https://files.pythonhosted.org/packages/a2/b7/ae06204d7d5c5a71614c74bbfa90b0c5dc2b7a57641f83651afd9895b350/gnfetcher-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1cd512509ac2eca187953c9d5eade0ff", "sha256": "32f5812d11d9ef831e3c5f8a126d6c03ffd8eda67f90bfd53340b2494b158e5e" }, "downloads": -1, "filename": "gnfetcher-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1cd512509ac2eca187953c9d5eade0ff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11033, "upload_time": "2018-12-12T10:01:35", "url": "https://files.pythonhosted.org/packages/4c/b2/9f0fe7a5aef0879e49e19ab74e66b36591159e3ff4598429a9af6410a28f/gnfetcher-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c84f88bb74f83467f331fb3a297d0c16", "sha256": "f265a2a8eaa7cbc18f1faebf51f309c8c0ea0167d2f58c198ca6ad730d14ac41" }, "downloads": -1, "filename": "gnfetcher-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c84f88bb74f83467f331fb3a297d0c16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9376, "upload_time": "2018-12-12T10:01:37", "url": "https://files.pythonhosted.org/packages/a2/b7/ae06204d7d5c5a71614c74bbfa90b0c5dc2b7a57641f83651afd9895b350/gnfetcher-1.0.1.tar.gz" } ] }