diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-10-01 18:01:05 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-10-01 18:01:05 -0700 |
commit | dd800485f0646fbaf49b9c65aa18fc4d18c62c5b (patch) | |
tree | d6d231f64d1fc3a24b3227fdd8e7743d722f693b /youtube/search.py | |
parent | 03f5ccbacb92313efa709aa8c07f9c1514edf504 (diff) | |
download | yt-local-dd800485f0646fbaf49b9c65aa18fc4d18c62c5b.tar.lz yt-local-dd800485f0646fbaf49b9c65aa18fc4d18c62c5b.tar.xz yt-local-dd800485f0646fbaf49b9c65aa18fc4d18c62c5b.zip |
add latency/readtime reporting for more things, round the numbers by reasonable amount
Diffstat (limited to 'youtube/search.py')
-rw-r--r-- | youtube/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |