From cdf89465cc0d41bb5a404e6bcc05c34690fa04ff Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 27 Oct 2018 02:09:05 -0700 Subject: fix search filters not being applied to next pages in results --- youtube/common.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'youtube/common.py') diff --git a/youtube/common.py b/youtube/common.py index 54ac70f..f534d84 100644 --- a/youtube/common.py +++ b/youtube/common.py @@ -620,13 +620,10 @@ def playlist_item_html(item, template, html_exclude=set()): -def make_query_string(query_string): - return '&'.join(key + '=' + ','.join(values) for key,values in query_string.items()) - def update_query_string(query_string, items): parameters = urllib.parse.parse_qs(query_string) parameters.update(items) - return make_query_string(parameters) + return urllib.parse.urlencode(parameters, doseq=True) page_button_template = Template('''$page''') current_page_button_template = Template('''
$page
''') -- cgit v1.2.3