Repository: yt-dlp
Issue: [iq.com] No formats above 240p available for new episodes on Iqiyi
Labels: site-bug,triage

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I'm running yt-dlp version **2023.10.13** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Not Geo restricted as far as I know

### Provide a description that is worded well enough to be understood

Usually in iq.com, you can download up to 1080. However, I noticed as you download latest episodes, it failed to detect anything beyond  240p. This is happening in other series as well.

In this example, you don't need an account as such and you should be able to view 6mins of the video @ 720p unless are subscribed to it. 

e.g. https://www.iq.com/play/romance-on-the-farm-episode-23-1p5zrzywtpw?lang=en_us
ID  EXT RESOLUTION │ PROTO │ VCODEC  ACODEC  MORE INFO
──────────────────────────────────────────────────────
100 mp4 384x160    │ m3u8  │ unknown unknown 240P

And if you compare it to e.g. episode 7. 
https://www.iq.com/play/romance-on-the-farm-episode-7-rpy79j5s90?lang=en_us

ID  EXT RESOLUTION │ PROTO │ VCODEC  ACODEC  MORE INFO
──────────────────────────────────────────────────────
100 mp4 384x160    │ m3u8  │ unknown unknown 240P
200 mp4 640x264    │ m3u8  │ unknown unknown 360P
300 mp4 896x376    │ m3u8  │ unknown unknown 480P
500 mp4 1280x536   │ m3u8  │ unknown unknown 720P

Can someone take a look at it? 

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['-F', 'https://www.iq.com/play/romance-on-the-farm-episode-23-1p5zrzywtpw?lang=en_us', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2023.11.07.231015 [10025b715] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.0.7, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1890 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version: nightly@2023.11.11.210020, Current version: nightly@2023.11.07.231015
Current Build Hash: 4df736bdf04f79de60c985a9e9f007299caac14cf6656d6f058643ac6a16a321
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/_update_spec
Updating to nightly@2023.11.11.210020 ...
[debug] Downloading yt-dlp.exe from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/yt-dlp.exe
[debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/SHA2-256SUMS
Updated yt-dlp to nightly@2023.11.11.210020
[debug] Restarting: yt-dlp.exe -F "https://www.iq.com/play/romance-on-the-farm-episode-23-1p5zrzywtpw?lang=en_us" -vU
[debug] Command-line config: ['-F', 'https://www.iq.com/play/romance-on-the-farm-episode-23-1p5zrzywtpw?lang=en_us', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2023.11.11.210020 [8afd9468b] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.0.7, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1899 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version: nightly@2023.11.11.210020, Current version: nightly@2023.11.11.210020
Current Build Hash: 2d4073fd23f1fe1736d0b6eca99e414646cf12db65875d7a2aa72844582da86f
yt-dlp is up to date (nightly@2023.11.11.210020)
[iq.com] Extracting URL: https://www.iq.com/play/romance-on-the-farm-episode-23-1p5zrzywtpw?lang=en_us
[iq.com] 1p5zrzywtpw: Downloading webpage
[debug] Loading iq.player_js from cache
[debug] Loading iq.player_js from cache
[iq.com] 1p5zrzywtpw: Executing signature code (this may take a couple minutes)
[debug] [iq.com] PhantomJS command line: phantomjs "--ssl-protocol=any" "C:\Users\ericg\AppData\Local\Temp\tmp5973y8mt"
[iq.com] 1p5zrzywtpw: Downloading initial video format info
WARNING: [iq.com] This preview video is limited to 360.0 seconds
[iq.com] 1p5zrzywtpw: Downloading format data for 720P
[iq.com] 1p5zrzywtpw: Downloading format data for 360P
[iq.com] 1p5zrzywtpw: Downloading format data for 240P
[iq.com] 1p5zrzywtpw: Downloading format data for 1080P
WARNING: [iq.com] 1080P format is restricted
[iq.com] 1p5zrzywtpw: Downloading format data for 480P
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 1p5zrzywtpw:
ID  EXT RESOLUTION │ PROTO │ VCODEC  ACODEC  MORE INFO
──────────────────────────────────────────────────────
100 mp4 384x160    │ m3u8  │ unknown unknown 240P
```