I installed the Wikipedia-API but I can't get it to work. If I try and use any method on 'page' it gives me an error. This is the only code I have in the project.
import wikipediaapi
wiki_wiki = wikipediaapi.Wikipedia('en')
page = wiki_wiki.page('Mathematics')
print(page.summary)
Here is the error
requests.exceptions.SSLError: HTTPSConnectionPool(host='en.wikipedia.org', port=443): Max retries exceeded with url: /w/api.php?titles=Mathematics&exsectionformat=wiki&explaintext=1&format=json&redirects=1&prop=extracts&action=query (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645)'),))