newspaper3k


Namenewspaper3k JSON
Version 0.2.8 PyPI version JSON
download
home_pagehttps://github.com/codelucas/newspaper/
SummarySimplified python article discovery & extraction.
upload_time2018-09-28 04:58:23
maintainer
docs_urlNone
authorLucas Ou-Yang
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements beautifulsoup4 cssselect feedfinder2 feedparser jieba3k lxml nltk Pillow pythainlp python-dateutil PyYAML requests tinysegmenter tldextract
Travis-CI
coveralls test coverage No coveralls.
            Newspaper3k: Article scraping & curation
========================================

.. image:: https://badge.fury.io/py/newspaper3k.svg
    :target: http://badge.fury.io/py/newspaper3k.svg
        :alt: Latest version

.. image:: https://travis-ci.org/codelucas/newspaper.svg
        :target: http://travis-ci.org/codelucas/newspaper/
        :alt: Build status

.. image:: https://coveralls.io/repos/github/codelucas/newspaper/badge.svg?branch=master
        :target: https://coveralls.io/github/codelucas/newspaper
        :alt: Coverage status


Inspired by `requests`_ for its simplicity and powered by `lxml`_ for its speed:

    "Newspaper is an amazing python library for extracting & curating articles."
    -- `tweeted by`_ Kenneth Reitz, Author of `requests`_

    "Newspaper delivers Instapaper style article extraction." -- `The Changelog`_

.. _`tweeted by`: https://twitter.com/kennethreitz/status/419520678862548992
.. _`The Changelog`: http://thechangelog.com/newspaper-delivers-instapaper-style-article-extraction/

**Newspaper is a Python3 library**! Or, view our **deprecated and buggy** `Python2 branch`_

.. _`Python2 branch`: https://github.com/codelucas/newspaper/tree/python-2-head

A Glance:
---------

.. code-block:: pycon

    >>> from newspaper import Article

    >>> url = 'http://fox13now.com/2013/12/30/new-year-new-laws-obamacare-pot-guns-and-drones/'
    >>> article = Article(url)

.. code-block:: pycon

    >>> article.download()

    >>> article.html
    '<!DOCTYPE HTML><html itemscope itemtype="http://...'

.. code-block:: pycon

    >>> article.parse()

    >>> article.authors
    ['Leigh Ann Caldwell', 'John Honway']

    >>> article.publish_date
    datetime.datetime(2013, 12, 30, 0, 0)

    >>> article.text
    'Washington (CNN) -- Not everyone subscribes to a New Year's resolution...'

    >>> article.top_image
    'http://someCDN.com/blah/blah/blah/file.png'

    >>> article.movies
    ['http://youtube.com/path/to/link.com', ...]

.. code-block:: pycon

    >>> article.nlp()

    >>> article.keywords
    ['New Years', 'resolution', ...]

    >>> article.summary
    'The study shows that 93% of people ...'

.. code-block:: pycon

    >>> import newspaper

    >>> cnn_paper = newspaper.build('http://cnn.com')

    >>> for article in cnn_paper.articles:
    >>>     print(article.url)
    http://www.cnn.com/2013/11/27/justice/tucson-arizona-captive-girls/
    http://www.cnn.com/2013/12/11/us/texas-teen-dwi-wreck/index.html
    ...

    >>> for category in cnn_paper.category_urls():
    >>>     print(category)

    http://lifestyle.cnn.com
    http://cnn.com/world
    http://tech.cnn.com
    ...

    >>> cnn_article = cnn_paper.articles[0]
    >>> cnn_article.download()
    >>> cnn_article.parse()
    >>> cnn_article.nlp()
    ...

.. code-block:: pycon

    >>> from newspaper import fulltext

    >>> html = requests.get(...).text
    >>> text = fulltext(html)


Newspaper can extract and detect languages *seamlessly*.
If no language is specified, Newspaper will attempt to auto detect a language.

.. code-block:: pycon

    >>> from newspaper import Article
    >>> url = 'http://www.bbc.co.uk/zhongwen/simp/chinese_news/2012/12/121210_hongkong_politics.shtml'

    >>> a = Article(url, language='zh') # Chinese

    >>> a.download()
    >>> a.parse()

    >>> print(a.text[:150])
    香港行政长官梁振英在各方压力下就其大宅的违章建
    筑(僭建)问题到立法会接受质询,并向香港民众道歉。
    梁振英在星期二(12月10日)的答问大会开始之际
    在其演说中道歉,但强调他在违章建筑问题上没有隐瞒的
    意图和动机。 一些亲北京阵营议员欢迎梁振英道歉,
    且认为应能获得香港民众接受,但这些议员也质问梁振英有

    >>> print(a.title)
    港特首梁振英就住宅违建事件道歉


If you are certain that an *entire* news source is in one language, **go ahead and use the same api :)**

.. code-block:: pycon

    >>> import newspaper
    >>> sina_paper = newspaper.build('http://www.sina.com.cn/', language='zh')

    >>> for category in sina_paper.category_urls():
    >>>     print(category)
    http://health.sina.com.cn
    http://eladies.sina.com.cn
    http://english.sina.com
    ...

    >>> article = sina_paper.articles[0]
    >>> article.download()
    >>> article.parse()

    >>> print(article.text)
    新浪武汉汽车综合 随着汽车市场的日趋成熟,
    传统的“集全家之力抱得爱车归”的全额购车模式已然过时,
    另一种轻松的新兴 车模式――金融购车正逐步成为时下消费者购
    买爱车最为时尚的消费理念,他们认为,这种新颖的购车
    模式既能在短期内
    ...

    >>> print(article.title)
    两年双免0手续0利率 科鲁兹掀背金融轻松购_武汉车市_武汉汽
    车网_新浪汽车_新浪网

Documentation
-------------

Check out `The Documentation`_ for full and detailed guides using newspaper.

Interested in adding a new language for us? Refer to: `Docs - Adding new languages <https://newspaper.readthedocs.io/en/latest/user_guide/advanced.html#adding-new-languages>`_

Features
--------

- Multi-threaded article download framework
- News url identification
- Text extraction from html
- Top image extraction from html
- All image extraction from html
- Keyword extraction from text
- Summary extraction from text
- Author extraction from text
- Google trending terms extraction
- Works in 10+ languages (English, Chinese, German, Arabic, ...)

.. code-block:: pycon

    >>> import newspaper
    >>> newspaper.languages()

    Your available languages are:
    input code      full name

      ar              Arabic
      ru              Russian
      nl              Dutch
      de              German
      en              English
      es              Spanish
      fr              French
      he              Hebrew
      it              Italian
      ko              Korean
      no              Norwegian
      fa              Persian
      pl              Polish
      pt              Portuguese
      sv              Swedish
      hu              Hungarian
      fi              Finnish
      da              Danish
      zh              Chinese
      id              Indonesian
      vi              Vietnamese
      sw              Swahili
      tr              Turkish
      el              Greek
      uk              Ukrainian
      bg              Bulgarian
      hr              Croatian
      ro              Romanian
      sl              Slovenian
      sr              Serbian
      et              Estonian
      ja              Japanese
      be              Belarusian


Get it now
----------

Run ✅ ``pip3 install newspaper3k`` ✅

NOT ⛔ ``pip3 install newspaper`` ⛔

On python3 you must install ``newspaper3k``, **not** ``newspaper``. ``newspaper`` is our python2 library.
Although installing newspaper is simple with `pip <http://www.pip-installer.org/>`_, you will
run into fixable issues if you are trying to install on ubuntu.

**If you are on Debian / Ubuntu**, install using the following:

- Install ``pip3`` command needed to install ``newspaper3k`` package::

    $ sudo apt-get install python3-pip

- Python development version, needed for Python.h::

    $ sudo apt-get install python-dev

- lxml requirements::

    $ sudo apt-get install libxml2-dev libxslt-dev

- For PIL to recognize .jpg images::

    $ sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev

NOTE: If you find problem installing ``libpng12-dev``, try installing ``libpng-dev``.

- Download NLP related corpora::

    $ curl https://raw.githubusercontent.com/codelucas/newspaper/master/download_corpora.py | python3

- Install the distribution via pip::

    $ pip3 install newspaper3k

**If you are on OSX**, install using the following, you may use both homebrew or macports:

::

    $ brew install libxml2 libxslt

    $ brew install libtiff libjpeg webp little-cms2

    $ pip3 install newspaper3k

    $ curl https://raw.githubusercontent.com/codelucas/newspaper/master/download_corpora.py | python3


**Otherwise**, install with the following:

NOTE: You will still most likely need to install the following libraries via your package manager

- PIL: ``libjpeg-dev`` ``zlib1g-dev`` ``libpng12-dev``
- lxml: ``libxml2-dev`` ``libxslt-dev``
- Python Development version: ``python-dev``

::

    $ pip3 install newspaper3k

    $ curl https://raw.githubusercontent.com/codelucas/newspaper/master/download_corpora.py | python3

Development
-----------

If you'd like to contribute and hack on the newspaper project, feel free to clone
a development version of this repository locally::

    git clone git://github.com/codelucas/newspaper.git

Once you have a copy of the source, you can embed it in your Python package,
or install it into your site-packages easily::

    $ pip3 install -r requirements.txt
    $ python3 setup.py install

Feel free to give our testing suite a shot, everything is mocked!::

    $ python3 tests/unit_tests.py

Planning on tweaking our full-text algorithm? Add the ``fulltext`` parameter::

    $ python3 tests/unit_tests.py fulltext


Demo
----

View a working online demo here: http://newspaper-demo.herokuapp.com
This is another working online demo: http://newspaper.chinazt.cc/

LICENSE
-------

Authored and maintained by `Lucas Ou-Yang`_.

`Parse.ly`_ sponsored some work on newspaper, specifically focused on
automatic extraction.

Newspaper uses a lot of `python-goose's`_ parsing code. View their license `here`_.

Please feel free to `email & contact me`_ if you run into issues or just would like
to talk about the future of this library and news extraction in general!

.. _`Lucas Ou-Yang`: http://codelucas.com
.. _`email & contact me`: mailto:lucasyangpersonal@gmail.com
.. _`python-goose's`: https://github.com/grangier/python-goose
.. _`here`: https://github.com/codelucas/newspaper/blob/master/GOOSE-LICENSE.txt

.. _`Quickstart guide`: https://newspaper.readthedocs.io/en/latest/
.. _`The Documentation`: https://newspaper.readthedocs.io
.. _`lxml`: http://lxml.de/
.. _`requests`: https://github.com/kennethreitz/requests
.. _`Parse.ly`: http://parse.ly



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/codelucas/newspaper/",
    "name": "newspaper3k",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Lucas Ou-Yang",
    "author_email": "lucasyangpersonal@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ce/fb/8f8525be0cafa48926e85b0c06a7cb3e2a892d340b8036f8c8b1b572df1c/newspaper3k-0.2.8.tar.gz",
    "platform": "",
    "description": "Newspaper3k: Article scraping & curation\n========================================\n\n.. image:: https://badge.fury.io/py/newspaper3k.svg\n    :target: http://badge.fury.io/py/newspaper3k.svg\n        :alt: Latest version\n\n.. image:: https://travis-ci.org/codelucas/newspaper.svg\n        :target: http://travis-ci.org/codelucas/newspaper/\n        :alt: Build status\n\n.. image:: https://coveralls.io/repos/github/codelucas/newspaper/badge.svg?branch=master\n        :target: https://coveralls.io/github/codelucas/newspaper\n        :alt: Coverage status\n\n\nInspired by `requests`_ for its simplicity and powered by `lxml`_ for its speed:\n\n    \"Newspaper is an amazing python library for extracting & curating articles.\"\n    -- `tweeted by`_ Kenneth Reitz, Author of `requests`_\n\n    \"Newspaper delivers Instapaper style article extraction.\" -- `The Changelog`_\n\n.. _`tweeted by`: https://twitter.com/kennethreitz/status/419520678862548992\n.. _`The Changelog`: http://thechangelog.com/newspaper-delivers-instapaper-style-article-extraction/\n\n**Newspaper is a Python3 library**! Or, view our **deprecated and buggy** `Python2 branch`_\n\n.. _`Python2 branch`: https://github.com/codelucas/newspaper/tree/python-2-head\n\nA Glance:\n---------\n\n.. code-block:: pycon\n\n    >>> from newspaper import Article\n\n    >>> url = 'http://fox13now.com/2013/12/30/new-year-new-laws-obamacare-pot-guns-and-drones/'\n    >>> article = Article(url)\n\n.. code-block:: pycon\n\n    >>> article.download()\n\n    >>> article.html\n    '<!DOCTYPE HTML><html itemscope itemtype=\"http://...'\n\n.. code-block:: pycon\n\n    >>> article.parse()\n\n    >>> article.authors\n    ['Leigh Ann Caldwell', 'John Honway']\n\n    >>> article.publish_date\n    datetime.datetime(2013, 12, 30, 0, 0)\n\n    >>> article.text\n    'Washington (CNN) -- Not everyone subscribes to a New Year's resolution...'\n\n    >>> article.top_image\n    'http://someCDN.com/blah/blah/blah/file.png'\n\n    >>> article.movies\n    ['http://youtube.com/path/to/link.com', ...]\n\n.. code-block:: pycon\n\n    >>> article.nlp()\n\n    >>> article.keywords\n    ['New Years', 'resolution', ...]\n\n    >>> article.summary\n    'The study shows that 93% of people ...'\n\n.. code-block:: pycon\n\n    >>> import newspaper\n\n    >>> cnn_paper = newspaper.build('http://cnn.com')\n\n    >>> for article in cnn_paper.articles:\n    >>>     print(article.url)\n    http://www.cnn.com/2013/11/27/justice/tucson-arizona-captive-girls/\n    http://www.cnn.com/2013/12/11/us/texas-teen-dwi-wreck/index.html\n    ...\n\n    >>> for category in cnn_paper.category_urls():\n    >>>     print(category)\n\n    http://lifestyle.cnn.com\n    http://cnn.com/world\n    http://tech.cnn.com\n    ...\n\n    >>> cnn_article = cnn_paper.articles[0]\n    >>> cnn_article.download()\n    >>> cnn_article.parse()\n    >>> cnn_article.nlp()\n    ...\n\n.. code-block:: pycon\n\n    >>> from newspaper import fulltext\n\n    >>> html = requests.get(...).text\n    >>> text = fulltext(html)\n\n\nNewspaper can extract and detect languages *seamlessly*.\nIf no language is specified, Newspaper will attempt to auto detect a language.\n\n.. code-block:: pycon\n\n    >>> from newspaper import Article\n    >>> url = 'http://www.bbc.co.uk/zhongwen/simp/chinese_news/2012/12/121210_hongkong_politics.shtml'\n\n    >>> a = Article(url, language='zh') # Chinese\n\n    >>> a.download()\n    >>> a.parse()\n\n    >>> print(a.text[:150])\n    \u9999\u6e2f\u884c\u653f\u957f\u5b98\u6881\u632f\u82f1\u5728\u5404\u65b9\u538b\u529b\u4e0b\u5c31\u5176\u5927\u5b85\u7684\u8fdd\u7ae0\u5efa\n    \u7b51\uff08\u50ed\u5efa\uff09\u95ee\u9898\u5230\u7acb\u6cd5\u4f1a\u63a5\u53d7\u8d28\u8be2\uff0c\u5e76\u5411\u9999\u6e2f\u6c11\u4f17\u9053\u6b49\u3002\n    \u6881\u632f\u82f1\u5728\u661f\u671f\u4e8c\uff0812\u670810\u65e5\uff09\u7684\u7b54\u95ee\u5927\u4f1a\u5f00\u59cb\u4e4b\u9645\n    \u5728\u5176\u6f14\u8bf4\u4e2d\u9053\u6b49\uff0c\u4f46\u5f3a\u8c03\u4ed6\u5728\u8fdd\u7ae0\u5efa\u7b51\u95ee\u9898\u4e0a\u6ca1\u6709\u9690\u7792\u7684\n    \u610f\u56fe\u548c\u52a8\u673a\u3002 \u4e00\u4e9b\u4eb2\u5317\u4eac\u9635\u8425\u8bae\u5458\u6b22\u8fce\u6881\u632f\u82f1\u9053\u6b49\uff0c\n    \u4e14\u8ba4\u4e3a\u5e94\u80fd\u83b7\u5f97\u9999\u6e2f\u6c11\u4f17\u63a5\u53d7\uff0c\u4f46\u8fd9\u4e9b\u8bae\u5458\u4e5f\u8d28\u95ee\u6881\u632f\u82f1\u6709\n\n    >>> print(a.title)\n    \u6e2f\u7279\u9996\u6881\u632f\u82f1\u5c31\u4f4f\u5b85\u8fdd\u5efa\u4e8b\u4ef6\u9053\u6b49\n\n\nIf you are certain that an *entire* news source is in one language, **go ahead and use the same api :)**\n\n.. code-block:: pycon\n\n    >>> import newspaper\n    >>> sina_paper = newspaper.build('http://www.sina.com.cn/', language='zh')\n\n    >>> for category in sina_paper.category_urls():\n    >>>     print(category)\n    http://health.sina.com.cn\n    http://eladies.sina.com.cn\n    http://english.sina.com\n    ...\n\n    >>> article = sina_paper.articles[0]\n    >>> article.download()\n    >>> article.parse()\n\n    >>> print(article.text)\n    \u65b0\u6d6a\u6b66\u6c49\u6c7d\u8f66\u7efc\u5408 \u968f\u7740\u6c7d\u8f66\u5e02\u573a\u7684\u65e5\u8d8b\u6210\u719f\uff0c\n    \u4f20\u7edf\u7684\u201c\u96c6\u5168\u5bb6\u4e4b\u529b\u62b1\u5f97\u7231\u8f66\u5f52\u201d\u7684\u5168\u989d\u8d2d\u8f66\u6a21\u5f0f\u5df2\u7136\u8fc7\u65f6\uff0c\n    \u53e6\u4e00\u79cd\u8f7b\u677e\u7684\u65b0\u5174 \u8f66\u6a21\u5f0f\u2015\u2015\u91d1\u878d\u8d2d\u8f66\u6b63\u9010\u6b65\u6210\u4e3a\u65f6\u4e0b\u6d88\u8d39\u8005\u8d2d\n    \u4e70\u7231\u8f66\u6700\u4e3a\u65f6\u5c1a\u7684\u6d88\u8d39\u7406\u5ff5\uff0c\u4ed6\u4eec\u8ba4\u4e3a\uff0c\u8fd9\u79cd\u65b0\u9896\u7684\u8d2d\u8f66\n    \u6a21\u5f0f\u65e2\u80fd\u5728\u77ed\u671f\u5185\n    ...\n\n    >>> print(article.title)\n    \u4e24\u5e74\u53cc\u514d0\u624b\u7eed0\u5229\u7387 \u79d1\u9c81\u5179\u6380\u80cc\u91d1\u878d\u8f7b\u677e\u8d2d_\u6b66\u6c49\u8f66\u5e02_\u6b66\u6c49\u6c7d\n    \u8f66\u7f51_\u65b0\u6d6a\u6c7d\u8f66_\u65b0\u6d6a\u7f51\n\nDocumentation\n-------------\n\nCheck out `The Documentation`_ for full and detailed guides using newspaper.\n\nInterested in adding a new language for us? Refer to: `Docs - Adding new languages <https://newspaper.readthedocs.io/en/latest/user_guide/advanced.html#adding-new-languages>`_\n\nFeatures\n--------\n\n- Multi-threaded article download framework\n- News url identification\n- Text extraction from html\n- Top image extraction from html\n- All image extraction from html\n- Keyword extraction from text\n- Summary extraction from text\n- Author extraction from text\n- Google trending terms extraction\n- Works in 10+ languages (English, Chinese, German, Arabic, ...)\n\n.. code-block:: pycon\n\n    >>> import newspaper\n    >>> newspaper.languages()\n\n    Your available languages are:\n    input code      full name\n\n      ar              Arabic\n      ru              Russian\n      nl              Dutch\n      de              German\n      en              English\n      es              Spanish\n      fr              French\n      he              Hebrew\n      it              Italian\n      ko              Korean\n      no              Norwegian\n      fa              Persian\n      pl              Polish\n      pt              Portuguese\n      sv              Swedish\n      hu              Hungarian\n      fi              Finnish\n      da              Danish\n      zh              Chinese\n      id              Indonesian\n      vi              Vietnamese\n      sw              Swahili\n      tr              Turkish\n      el              Greek\n      uk              Ukrainian\n      bg              Bulgarian\n      hr              Croatian\n      ro              Romanian\n      sl              Slovenian\n      sr              Serbian\n      et              Estonian\n      ja              Japanese\n      be              Belarusian\n\n\nGet it now\n----------\n\nRun \u2705 ``pip3 install newspaper3k`` \u2705\n\nNOT \u26d4 ``pip3 install newspaper`` \u26d4\n\nOn python3 you must install ``newspaper3k``, **not** ``newspaper``. ``newspaper`` is our python2 library.\nAlthough installing newspaper is simple with `pip <http://www.pip-installer.org/>`_, you will\nrun into fixable issues if you are trying to install on ubuntu.\n\n**If you are on Debian / Ubuntu**, install using the following:\n\n- Install ``pip3`` command needed to install ``newspaper3k`` package::\n\n    $ sudo apt-get install python3-pip\n\n- Python development version, needed for Python.h::\n\n    $ sudo apt-get install python-dev\n\n- lxml requirements::\n\n    $ sudo apt-get install libxml2-dev libxslt-dev\n\n- For PIL to recognize .jpg images::\n\n    $ sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev\n\nNOTE: If you find problem installing ``libpng12-dev``, try installing ``libpng-dev``.\n\n- Download NLP related corpora::\n\n    $ curl https://raw.githubusercontent.com/codelucas/newspaper/master/download_corpora.py | python3\n\n- Install the distribution via pip::\n\n    $ pip3 install newspaper3k\n\n**If you are on OSX**, install using the following, you may use both homebrew or macports:\n\n::\n\n    $ brew install libxml2 libxslt\n\n    $ brew install libtiff libjpeg webp little-cms2\n\n    $ pip3 install newspaper3k\n\n    $ curl https://raw.githubusercontent.com/codelucas/newspaper/master/download_corpora.py | python3\n\n\n**Otherwise**, install with the following:\n\nNOTE: You will still most likely need to install the following libraries via your package manager\n\n- PIL: ``libjpeg-dev`` ``zlib1g-dev`` ``libpng12-dev``\n- lxml: ``libxml2-dev`` ``libxslt-dev``\n- Python Development version: ``python-dev``\n\n::\n\n    $ pip3 install newspaper3k\n\n    $ curl https://raw.githubusercontent.com/codelucas/newspaper/master/download_corpora.py | python3\n\nDevelopment\n-----------\n\nIf you'd like to contribute and hack on the newspaper project, feel free to clone\na development version of this repository locally::\n\n    git clone git://github.com/codelucas/newspaper.git\n\nOnce you have a copy of the source, you can embed it in your Python package,\nor install it into your site-packages easily::\n\n    $ pip3 install -r requirements.txt\n    $ python3 setup.py install\n\nFeel free to give our testing suite a shot, everything is mocked!::\n\n    $ python3 tests/unit_tests.py\n\nPlanning on tweaking our full-text algorithm? Add the ``fulltext`` parameter::\n\n    $ python3 tests/unit_tests.py fulltext\n\n\nDemo\n----\n\nView a working online demo here: http://newspaper-demo.herokuapp.com\nThis is another working online demo: http://newspaper.chinazt.cc/\n\nLICENSE\n-------\n\nAuthored and maintained by `Lucas Ou-Yang`_.\n\n`Parse.ly`_ sponsored some work on newspaper, specifically focused on\nautomatic extraction.\n\nNewspaper uses a lot of `python-goose's`_ parsing code. View their license `here`_.\n\nPlease feel free to `email & contact me`_ if you run into issues or just would like\nto talk about the future of this library and news extraction in general!\n\n.. _`Lucas Ou-Yang`: http://codelucas.com\n.. _`email & contact me`: mailto:lucasyangpersonal@gmail.com\n.. _`python-goose's`: https://github.com/grangier/python-goose\n.. _`here`: https://github.com/codelucas/newspaper/blob/master/GOOSE-LICENSE.txt\n\n.. _`Quickstart guide`: https://newspaper.readthedocs.io/en/latest/\n.. _`The Documentation`: https://newspaper.readthedocs.io\n.. _`lxml`: http://lxml.de/\n.. _`requests`: https://github.com/kennethreitz/requests\n.. _`Parse.ly`: http://parse.ly\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simplified python article discovery & extraction.",
    "version": "0.2.8",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "ab159f505dafb6b26fb812e54f319a17",
                "sha256": "44a864222633d3081113d1030615991c3dbba87239f6bbf59d91240f71a22e3e"
            },
            "downloads": -1,
            "filename": "newspaper3k-0.2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ab159f505dafb6b26fb812e54f319a17",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 211132,
            "upload_time": "2018-09-28T04:58:18",
            "upload_time_iso_8601": "2018-09-28T04:58:18.847614Z",
            "url": "https://files.pythonhosted.org/packages/d7/b9/51afecb35bb61b188a4b44868001de348a0e8134b4dfa00ffc191567c4b9/newspaper3k-0.2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "097b3eb5ca78f94ec1db1231662da904",
                "sha256": "9f1bd3e1fb48f400c715abf875cc7b0a67b7ddcd87f50c9aeeb8fcbbbd9004fb"
            },
            "downloads": -1,
            "filename": "newspaper3k-0.2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "097b3eb5ca78f94ec1db1231662da904",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 205685,
            "upload_time": "2018-09-28T04:58:23",
            "upload_time_iso_8601": "2018-09-28T04:58:23.530522Z",
            "url": "https://files.pythonhosted.org/packages/ce/fb/8f8525be0cafa48926e85b0c06a7cb3e2a892d340b8036f8c8b1b572df1c/newspaper3k-0.2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2018-09-28 04:58:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "codelucas",
    "github_project": "newspaper",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    ">=",
                    "4.4.1"
                ]
            ]
        },
        {
            "name": "cssselect",
            "specs": [
                [
                    ">=",
                    "0.9.2"
                ]
            ]
        },
        {
            "name": "feedfinder2",
            "specs": [
                [
                    ">=",
                    "0.0.4"
                ]
            ]
        },
        {
            "name": "feedparser",
            "specs": [
                [
                    ">=",
                    "5.2.1"
                ]
            ]
        },
        {
            "name": "jieba3k",
            "specs": [
                [
                    ">=",
                    "0.35.1"
                ]
            ]
        },
        {
            "name": "lxml",
            "specs": [
                [
                    ">=",
                    "3.6.0"
                ]
            ]
        },
        {
            "name": "nltk",
            "specs": [
                [
                    ">=",
                    "3.2.1"
                ]
            ]
        },
        {
            "name": "Pillow",
            "specs": [
                [
                    ">=",
                    "3.3.0"
                ]
            ]
        },
        {
            "name": "pythainlp",
            "specs": [
                [
                    ">=",
                    "1.7.2"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    ">=",
                    "2.5.3"
                ]
            ]
        },
        {
            "name": "PyYAML",
            "specs": [
                [
                    ">=",
                    "3.11"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.10.0"
                ]
            ]
        },
        {
            "name": "tinysegmenter",
            "specs": [
                [
                    "==",
                    "0.3"
                ]
            ]
        },
        {
            "name": "tldextract",
            "specs": [
                [
                    ">=",
                    "2.0.1"
                ]
            ]
        }
    ],
    "lcname": "newspaper3k"
}
        
Elapsed time: 0.03038s