mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-16 01:56:37 +00:00
Change the patched function
This commit is contained in:
parent
217c0898da
commit
b3b4007dcc
@ -10,7 +10,7 @@ class PatchedYoutubeIE(YoutubeIE):
|
|||||||
pp = self._configuration_arg('player_params', [None], casesense=True)[0]
|
pp = self._configuration_arg('player_params', [None], casesense=True)[0]
|
||||||
if pp:
|
if pp:
|
||||||
query['pp'] = pp
|
query['pp'] = pp
|
||||||
webpage = self._download_webpage_with_retries(webpage_url, video_id, query=query)
|
webpage = self._download_webpage_with_retries(webpage_url, video_id, retry_fatal=True, query=query)
|
||||||
|
|
||||||
master_ytcfg = self.extract_ytcfg(video_id, webpage) or self._get_default_ytcfg()
|
master_ytcfg = self.extract_ytcfg(video_id, webpage) or self._get_default_ytcfg()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user