Skip to main content

Python library for navigating the internet

Project description

Internet

Wikipedia

InfoBox

from internet import Wikipedia
w = Wikipedia(rate_limit_wait_seconds=0.1)
result = w.search('steve wozniak')[0]
print(result)

output

{
  "title_1": "Steve Wozniak",
  "unknown_row_1": {
    "texts": [
      "Wozniak in 2018"
    ],
    "links": [
      {
        "url": "/wiki/File:Steve_Wozniak,_November_2018.jpg"
      }
    ]
  },
  "Born": {
    "texts": [
      "Stephen Gary Wozniak[1](p18) (1950-08-11) August 11, 1950 (age 68)San Jose, California, U.S."
    ],
    "links": [
      {
        "url": "#cite_note-iWoz-1",
        "text": "[1]"
      },
      {
        "title": "San Jose, California",
        "url": "/wiki/San_Jose,_California",
        "text": "San Jose"
      },
      {
        "title": "California",
        "url": "/wiki/California",
        "text": "California"
      }
    ]
  },
  ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

internet-2020.4.17.tar.gz (18.9 kB view hashes)

Uploaded Source

Built Distribution

internet-2020.4.17-py3-none-any.whl (27.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page