Changelog¶
0.6.0¶
- Make user agent mandatory - Issue 63
- This breaks the API since user_agent is now the first parameter.
0.5.3¶
- Adds persistent HTTP connection - Issue 26
- Downloading 50 pages reduced from 13s to 8s => 40% speed up
0.5.1¶
- Adds tox for testing different Python versions
0.5.0¶
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¶
- Adds support for property Categorymembers
- Adds property
text
for retrieving complete text of the page
0.3.3¶
- Added support for request timeout
- Add header: Accept-Encoding: gzip
0.3.2¶
- Added support for property Categories
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
towikipediaapi
to avoid collisions
0.2.4¶
- Handle redirects properly
0.2.3¶
- Usage method
page
instead ofarticle
inWikipedia
0.2.2¶
- Added support for property Links
0.2.1¶
- Added support for property Langlinks
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