# HG changeset patch # User ymh # Date 1505234942 -7200 # Node ID 59d49ab04dedea0c11a47af87efbb55290851557 # Parent e2c36fdf4c537c4d53ab167be0230fb4c8d4b2c7 use https for wikipedia api endpoint diff -r e2c36fdf4c53 -r 59d49ab04ded src/hdalab/__init__.py --- a/src/hdalab/__init__.py Wed Apr 06 12:13:14 2016 +0200 +++ b/src/hdalab/__init__.py Tue Sep 12 18:49:02 2017 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import -VERSION = (3, 2, 0, "final", 0) +VERSION = (3, 2, 1, "final", 0) def get_version(): diff -r e2c36fdf4c53 -r 59d49ab04ded src/hdalab/management/commands/query_category_inclusion.py --- a/src/hdalab/management/commands/query_category_inclusion.py Wed Apr 06 12:13:14 2016 +0200 +++ b/src/hdalab/management/commands/query_category_inclusion.py Tue Sep 12 18:49:02 2017 +0200 @@ -42,7 +42,7 @@ action='store', type='string', dest='site_url', - default="http://fr.wikipedia.org/w/api.php", + default="https://fr.wikipedia.org/w/api.php", help='the url for the wikipedia site'), make_option('--limit', action='store', diff -r e2c36fdf4c53 -r 59d49ab04ded src/hdalab/management/commands/query_wikipedia_category.py --- a/src/hdalab/management/commands/query_wikipedia_category.py Wed Apr 06 12:13:14 2016 +0200 +++ b/src/hdalab/management/commands/query_wikipedia_category.py Tue Sep 12 18:49:02 2017 +0200 @@ -62,7 +62,7 @@ action='store', type='string', dest='site_url', - default="http://fr.wikipedia.org/w/api.php", + default="https://fr.wikipedia.org/w/api.php", help='the url for the wikipedia site'), make_option('--limit', action='store', diff -r e2c36fdf4c53 -r 59d49ab04ded src/hdalab/settings.py --- a/src/hdalab/settings.py Wed Apr 06 12:13:14 2016 +0200 +++ b/src/hdalab/settings.py Tue Sep 12 18:49:02 2017 +0200 @@ -168,7 +168,7 @@ } DEFAULT_RENKAN_ICON = "thumbnails/renkan/renkan_default_icon.png" -WIKIPEDIA_API_URL = "http://fr.wikipedia.org/w/api.php" +WIKIPEDIA_API_URL = "https://fr.wikipedia.org/w/api.php" WIKIPEDIA_VERSION_PERMALINK_TEMPLATE = "http://fr.wikipedia.org/w/index.php?oldid=%s" DBPEDIA_URI_TEMPLATE = "http://fr.dbpedia.org/%s/%s" #DBPEDIA_URI_TEMPLATE = "http://fr.dbpedia.org/resource/%s"