aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-10-14 06:46:24 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-10-14 07:41:06 +0530
commitd51b2816e33860f3e2a86bda431e31e48cb2e020 (patch)
treeb43a881eb9360c0485b99d6569949e3c6e8bb02e
parent34f00179db37b963d6c8ce8703877a06aa7f1195 (diff)
downloadhypervideo-pre-d51b2816e33860f3e2a86bda431e31e48cb2e020.tar.lz
hypervideo-pre-d51b2816e33860f3e2a86bda431e31e48cb2e020.tar.xz
hypervideo-pre-d51b2816e33860f3e2a86bda431e31e48cb2e020.zip
[extractor/iq] Increase phantomjs timeout
Closes #5161
-rw-r--r--yt_dlp/extractor/iqiyi.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yt_dlp/extractor/iqiyi.py b/yt_dlp/extractor/iqiyi.py
index 6a43846c1..bb77647f8 100644
--- a/yt_dlp/extractor/iqiyi.py
+++ b/yt_dlp/extractor/iqiyi.py
@@ -588,8 +588,9 @@ class IqIE(InfoExtractor):
ut_list = ['0']
# bid 0 as an initial format checker
- dash_paths = self._parse_json(PhantomJSwrapper(self).get(
- url, html='<!DOCTYPE html>', video_id=video_id, note2='Executing signature code', jscode=self._DASH_JS % {
+ dash_paths = self._parse_json(PhantomJSwrapper(self, timeout=120_000).get(
+ 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'],
'vid': video_info['vid'],
'src': traverse_obj(next_props, ('initialProps', 'pageProps', 'ptid'),