Closed Holmes-pengge closed 2 weeks ago
下载西瓜视频报错
yt-dlp --cookies ixigua_cookies.txt -f "ba/b" --ignore-errors 'https://www.ixigua.com/6996881461559165471' [Ixigua] Extracting URL: https://www.ixigua.com/6996881461559165471 [Ixigua] 699688146155916547: Downloading webpage ERROR: 'utf-8' codec can't decode byte 0xa9 in position 2: invalid start byte
yt-dlp -vU <your command line>
'verbose': True
YoutubeDL
[debug] Command-line config
yt-dlp -vU --cookies ixigua_cookies.txt -f "ba/b" --ignore-errors 'https://www.ixigua.com/6996881461559165471' [debug] Command-line config: ['-vU', '--cookies', 'ixigua_cookies.txt', '-f', 'ba/b', '--ignore-errors', 'https://www.ixigua.com/6996881461559165471'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.04.09 from yt-dlp/yt-dlp [ff0779267] (zip) [debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.5.0-27-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35) [debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2 [debug] Optional libraries: certifi-2020.06.20, requests-2.31.0, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-2.2.1, websockets-11.0.3 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests [debug] Loaded 1810 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: stable@2024.04.09 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2024.04.09 from yt-dlp/yt-dlp) [Ixigua] Extracting URL: https://www.ixigua.com/6996881461559165471 [Ixigua] 699688146155916547: Downloading webpage ERROR: 'utf-8' codec can't decode byte 0x85 in position 6: invalid start byte Traceback (most recent call last): File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1606, in wrapper return func(self, *args, **kwargs) File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1741, in __extract_info ie_result = ie.extract(url) File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 734, in extract ie_result = self._real_extract(url) File "/usr/local/bin/yt-dlp/yt_dlp/extractor/ixigua.py", line 69, in _real_extract formats = list(self._media_selector(json_data.get('videoResource'))) File "/usr/local/bin/yt-dlp/yt_dlp/extractor/ixigua.py", line 53, in _media_selector 'url': base64.b64decode(media['main_url']).decode(), UnicodeDecodeError: 'utf-8' codec can't decode byte 0x85 in position 6: invalid start byte
Probably same as #9784.
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Provide a description that is worded well enough to be understood
下载西瓜视频报错
yt-dlp --cookies ixigua_cookies.txt -f "ba/b" --ignore-errors 'https://www.ixigua.com/6996881461559165471' [Ixigua] Extracting URL: https://www.ixigua.com/6996881461559165471 [Ixigua] 699688146155916547: Downloading webpage ERROR: 'utf-8' codec can't decode byte 0xa9 in position 2: invalid start byte
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output