Skip to content

iQIYI extractor can't find any video #2740

@thomco

Description

@thomco

Checklist

Region

Mainland China

Description

iQIYI extractor cannot find any video.

I've tried several videos on the site, including the ones included as _TESTS in the extractor.

Debugging the extractor, I have found that it fails to extract both the tvid and video_id values from the webpage.

Changing the regex for these to: r'-tvid\s*=\s*[\'"](\d+)' and '\"vid\"\s*:\s*[\"]([a-f\d]+)\"' respectively allows the extractor to get the correct IDs. From which, the extractor can download the json and pull the m3u8, but the download of the individual segments fail with a timeout.

Verbose log

.\yt-dlp.exe -Uv http://www.iqiyi.com/v_19rrhnnclk.html
[debug] Command-line config: ['-Uv', 'http://www.iqiyi.com/v_19rrhnnclk.html']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: none
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {'http': 'http://127.0.0.1:41091', 'https': 'https://127.0.0.1:41091', 'ftp': 'ftp://127.0.0.1:41091'}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
[debug] [iqiyi] Extracting URL: http://www.iqiyi.com/v_19rrhnnclk.html
[iqiyi] temp_id: download video page
ERROR: [iqiyi] Can't find any video; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
  File "yt_dlp\extractor\common.py", line 612, in extract
  File "yt_dlp\extractor\iqiyi.py", line 366, in _real_extract

Metadata

Metadata

Assignees

No one assigned

    Labels

    geo-blockedContent is geo-blockedsite-bugIssue with a specific website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions