engines: use https when possible

This commit is contained in:
Alexandre Flament 2015-04-26 18:13:09 +02:00
parent 2be52b74ad
commit 99efd790c8
6 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ safesearch = True
# search-url
base_url = 'https://www.bing.com/'
search_string = 'images/search?{query}&count=10&first={offset}'
thumb_url = "http://ts1.mm.bing.net/th?id={ihk}"
thumb_url = "http://ts1.mm.bing.net/th?id={ihk}" # no https, bad certificate
# safesearch definitions
safesearch_types = {2: 'STRICT',

View File

@ -2,7 +2,7 @@ from datetime import datetime
import re
categories = []
url = 'http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s={query}=X'
url = 'https://download.finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s={query}=X'
weight = 100
parser_re = re.compile(r'^\W*(\d+(?:\.\d+)?)\W*([a-z]{3})\W*(?:in)?\W*([a-z]{3})\W*$', re.I) # noqa
@ -44,7 +44,7 @@ def response(resp):
)
now_date = datetime.now().strftime('%Y%m%d')
url = 'http://finance.yahoo.com/currency/converter-results/{0}/{1}-{2}-to-{3}.html' # noqa
url = 'https://finance.yahoo.com/currency/converter-results/{0}/{1}-{2}-to-{3}.html' # noqa
url = url.format(
now_date,
resp.search_params['ammount'],

View File

@ -16,11 +16,11 @@ categories = ['music']
paging = True
# search-url
url = 'http://api.deezer.com/'
url = 'https://api.deezer.com/'
search_url = url + 'search?{query}&index={offset}'
embedded_url = '<iframe scrolling="no" frameborder="0" allowTransparency="true" ' +\
'data-src="http://www.deezer.com/plugins/player?type=tracks&id={audioid}" ' +\
'data-src="https://www.deezer.com/plugins/player?type=tracks&id={audioid}" ' +\
'width="540" height="80"></iframe>'

View File

@ -17,7 +17,7 @@ categories = ['music']
paging = True
# search-url
url = 'http://api.mixcloud.com/'
url = 'https://api.mixcloud.com/'
search_url = url + 'search/?{query}&type=cloudcast&limit=10&offset={offset}'
embedded_url = '<iframe scrolling="no" frameborder="0" allowTransparency="true" ' +\

View File

@ -19,7 +19,7 @@ categories = ['it']
paging = True
# search-url
url = 'http://stackoverflow.com/'
url = 'https://stackoverflow.com/'
search_url = url+'search?{query}&page={pageno}'
# specific xpath variables

View File

@ -23,7 +23,7 @@ categories = ['videos']
paging = True
# search-url
base_url = 'http://vimeo.com'
base_url = 'https://vimeo.com'
search_url = base_url + '/search/page:{pageno}?{query}'
# specific xpath variables