[extractor/iq] Increase phantomjs timeout

Closes #5161
pull/5253/head
pukkandan 2 years ago
parent 34f00179db
commit d51b2816e3
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -588,8 +588,9 @@ class IqIE(InfoExtractor):
ut_list = ['0'] ut_list = ['0']
# bid 0 as an initial format checker # bid 0 as an initial format checker
dash_paths = self._parse_json(PhantomJSwrapper(self).get( dash_paths = self._parse_json(PhantomJSwrapper(self, timeout=120_000).get(
url, html='<!DOCTYPE html>', video_id=video_id, note2='Executing signature code', jscode=self._DASH_JS % { url, note2='Executing signature code (this may take a couple minutes)',
html='<!DOCTYPE html>', video_id=video_id, jscode=self._DASH_JS % {
'tvid': video_info['tvId'], 'tvid': video_info['tvId'],
'vid': video_info['vid'], 'vid': video_info['vid'],
'src': traverse_obj(next_props, ('initialProps', 'pageProps', 'ptid'), 'src': traverse_obj(next_props, ('initialProps', 'pageProps', 'ptid'),

Loading…
Cancel
Save