Changelog

0.6.0

  • Make user agent mandatory - Issue 63
  • This breaks the API since user_agent is now the first parameter.

0.5.8

  • Adds support for retrieving all sections with given name - Issue 39

0.5.4

  • Namespace could be arbitrary integer - Issue 29

0.5.3

  • Adds persistent HTTP connection - Issue 26
    • Downloading 50 pages reduced from 13s to 8s => 40% speed up

0.5.2

0.5.1

  • Adds tox for testing different Python versions

0.5.0

  • Allows modifying API call parameters
  • Fixes Issue 16 - hidden categories
  • Fixes Issue 21 - summary extraction

0.4.5

  • Handles missing sections correctly
  • Fixes Issue 20

0.4.4

  • Uses HTTPS directly instead of HTTP to avoid redirect

0.4.3

  • Correctly extracts text from pages without sections
  • Adds support for quoted page titles
api = wikipediaapi.Wikipedia(
    language='hi',
)
python = api.article(
    title='%E0%A4%AA%E0%A4%BE%E0%A4%87%E0%A4%A5%E0%A4%A8',
    unquote=True,
)
print(python.summary)

0.4.2

  • Adds support for Python 3.4 by not using f-strings

0.4.1

  • Uses code style enforced by flake8
  • Increased code coverage

0.4.0

  • Uses type annotations => minimal requirement is now Python 3.5
  • Adds possibility to use more parameters for request. For example:
api = wikipediaapi.Wikipedia(
    language='en',
    proxies={'http': 'http://localhost:1234'}
)
  • Extends documentation

0.3.4

0.3.3

0.3.2

0.3.1

  • Removing WikipediaLangLink
  • Page keeps track of its own language, so it’s easier to jump between different translations of the same page

0.3.0

  • Rename directory from wikipedia to wikipediaapi to avoid collisions

0.2.4

  • Handle redirects properly

0.2.3

  • Usage method page instead of article in Wikipedia

0.2.2

0.2.1

0.2.0

  • Use properties instead of functions
  • Added support for property Info

0.1.6

  • Support for extracting texts with HTML markdown
  • Added initial version of unit tests

0.1.4

  • It’s possible to extract summary and sections of the page
  • Added support for property Extracts