Repository: yt-dlp
Issue: ixigua ERROR: 'utf-8' codec can't decode byte in position 0: invalid continuation/start byte
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 have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [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

china

### Provide a description that is worded well enough to be understood

cannot download ixigua videos

ERROR: 'utf-8' codec can't decode byte 0xd0 in position 1: invalid continuation byte

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] 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
yt-dlp.exe -vU -i -o "Z:\%(upload_date)s  %(title)s.%(ext)s" --ignore-config --hls-prefer-native --add-metadata --merge-output-format mp4 --cookies-from-browser firefox --referer https://www.ixigua.com/ https://www.ixigua.com/7205984803529851429

[debug] Command-line config: ['-vU', '-i', '-o', 'Z:\\%(upload_date)s  %(title)s.%(ext)s', '--ignore-config', '--hls-prefer-native', '--add-metadata', '--merge-output-format', 'mp4', '--cookies-from-browser', 'firefox', '--referer', 'https://www.ixigua.com/', 'https://www.ixigua.com/7205984803529851429']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version master@2024.04.21.224157 from yt-dlp/yt-dlp-master-builds [ff38a011d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.1.1-full_build-www.gyan.dev (setts), ffprobe 6.1.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {'http': 'http://127.0.0.1:7890', 'https': 'http://127.0.0.1:7890', 'ftp': 'http://127.0.0.1:7890'}
Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\Mechrevo\AppData\Roaming\Mozilla\Firefox\Profiles\vah3au8q.default-release\cookies.sqlite"
Extracted 930 cookies from firefox
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version: master@2024.04.21.224157 from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date (master@2024.04.21.224157 from yt-dlp/yt-dlp-master-builds)
[Ixigua] Extracting URL: https://www.ixigua.com/7205984803529851429
[Ixigua] 720598480352985142: Downloading webpage
ERROR: 'utf-8' codec can't decode byte 0xe4 in position 0: invalid continuation byte
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1606, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1741, in __extract_info
  File "yt_dlp\extractor\common.py", line 734, in extract
  File "yt_dlp\extractor\ixigua.py", line 69, in _real_extract
  File "yt_dlp\extractor\ixigua.py", line 53, in _media_selector
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 0: invalid continuation byte
```