This commit is contained in:
Noemi Vanyi 2016-07-19 10:14:11 +02:00
parent e7baf24ec1
commit a7c8d5882c
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ time_range_dict = {'day': 'd',
'week': 'w', 'week': 'w',
'month': 'm'} 'month': 'm'}
# do search-request # do search-request
def request(query, params): def request(query, params):
offset = (params['pageno'] - 1) * 100 offset = (params['pageno'] - 1) * 100

View File

@ -38,6 +38,7 @@ time_range_dict = {'day': ['1d', 'd'],
'week': ['1w', 'w'], 'week': ['1w', 'w'],
'month': ['1m', 'm']} 'month': ['1m', 'm']}
# remove yahoo-specific tracking-url # remove yahoo-specific tracking-url
def parse_url(url_string): def parse_url(url_string):
endings = ['/RS', '/RK'] endings = ['/RS', '/RK']