add latency/readtime reporting for more things, round the numbers by reasonable amount
This commit is contained in:
@@ -55,7 +55,7 @@ def get_search_json(query, page, autocorrect, sort):
|
||||
'X-YouTube-Client-Version': '2.20180418',
|
||||
}
|
||||
url += "&pbj=1&sp=" + page_number_to_sp_parameter(page, autocorrect, sort).replace("=", "%3D")
|
||||
content = common.fetch_url(url, headers=headers)
|
||||
content = common.fetch_url(url, headers=headers, report_text="Got search results")
|
||||
info = json.loads(content)
|
||||
return info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user