From dd800485f0646fbaf49b9c65aa18fc4d18c62c5b Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 1 Oct 2018 18:01:05 -0700 Subject: add latency/readtime reporting for more things, round the numbers by reasonable amount --- youtube/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/search.py') diff --git a/youtube/search.py b/youtube/search.py index 8bb3aff..206f000 100644 --- a/youtube/search.py +++ b/youtube/search.py @@ -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 -- cgit v1.2.3