aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/search.py')
-rw-r--r--youtube/search.py2
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