Ricordisamoa has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312200

Change subject: Access Wikidata API via HTTPS
......................................................................

Access Wikidata API via HTTPS

urllib.error.HTTPError: HTTP Error 403: Insecure Request Forbidden - use HTTPS
 - 
https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-May/000110.html

Bug: T142432
Change-Id: I0222113d987b64d8b34bb56be4c74f1388322a4b
---
M base.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/ptable 
refs/changes/00/312200/1

diff --git a/base.py b/base.py
index c098026..bc01b1a 100644
--- a/base.py
+++ b/base.py
@@ -56,7 +56,7 @@
 class BaseProvider:
     """Base class for all providers."""
 
-    WD_API = 'http://www.wikidata.org/w/api.php'
+    WD_API = 'https://www.wikidata.org/w/api.php'
     API_LIMIT = 50
 
     def __init__(self, language):

-- 
To view, visit https://gerrit.wikimedia.org/r/312200
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0222113d987b64d8b34bb56be4c74f1388322a4b
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/ptable
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisa...@openmailbox.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to