From ea548af65f6861372629b2cba81f37c0b7311f55 Mon Sep 17 00:00:00 2001 From: dvinegla Date: Tue, 12 Feb 2019 16:18:28 +0100 Subject: [PATCH] update params istead of replace them --- twython/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twython/api.py b/twython/api.py index 4953129..167d6fe 100644 --- a/twython/api.py +++ b/twython/api.py @@ -514,7 +514,7 @@ class Twython(EndpointsMixin, object): metadata = content.get(function.iter_metadata) if 'next_results' in metadata: next_results = urlsplit(metadata['next_results']) - params = dict(parse_qsl(next_results.query)) + params.update(dict(parse_qsl(next_results.query))) else: # No more results raise StopIteration