|
@@ -2,7 +2,7 @@ from datetime import datetime
|
2
|
2
|
import re
|
3
|
3
|
|
4
|
4
|
categories = []
|
5
|
|
-url = 'http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s={query}=X'
|
|
5
|
+url = 'https://download.finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s={query}=X'
|
6
|
6
|
weight = 100
|
7
|
7
|
|
8
|
8
|
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):
|
44
|
44
|
)
|
45
|
45
|
|
46
|
46
|
now_date = datetime.now().strftime('%Y%m%d')
|
47
|
|
- url = 'http://finance.yahoo.com/currency/converter-results/{0}/{1}-{2}-to-{3}.html' # noqa
|
|
47
|
+ url = 'https://finance.yahoo.com/currency/converter-results/{0}/{1}-{2}-to-{3}.html' # noqa
|
48
|
48
|
url = url.format(
|
49
|
49
|
now_date,
|
50
|
50
|
resp.search_params['ammount'],
|