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',
'month': 'm'}
# do search-request
def request(query, params):
offset = (params['pageno'] - 1) * 100

View File

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