Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to access watch later list on Bilibili #8499

Open
11 tasks done
ischt opened this issue Nov 2, 2023 · 1 comment
Open
11 tasks done

Fail to access watch later list on Bilibili #8499

ischt opened this issue Nov 2, 2023 · 1 comment
Labels
account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development site-bug Issue with a specific website triage Untriaged issue

Comments

@ischt
Copy link

ischt commented Nov 2, 2023

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

China

Provide a description that is worded well enough to be understood

The current version can not access watch later list on Bilibili.
The solution should be simple, for example, just to replace the original URL [https://www.bilibili.com/list/watchlater?bvid=REALBVID] to [https://www.bilibili.com/video/REALBVID]

Provide verbose output that clearly demonstrates the problem

  • 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
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://www.bilibili.com/list/watchlater?bvid=BV1kw411R7Jo']
[debug] User config "C:\Users\Tian\AppData\Roaming\yt-dlp\config": ['-o', 'C:\\Users\\Tian\\Downloads\\Streaming\\%(fulltitle)s.%(playlist_title)s.%(channel)s.%(display_id)s.%(uploader)s.%(uploader_id)s.%(upload_date)s.%(ext)s', '--cookies', 'C:\\Users\\Tian\\AppData\\Roaming\\yt-dlp\\bilibili.com_cookies.file']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.10.13 [b634ba742] (pip)
[debug] Python 3.11.6 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 3.0.11 19 Sep 2023)
[debug] exe versions: ffmpeg 5.0.1-full_build-www.gyan.dev (setts), ffprobe 5.0.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2022.12.07, mutagen-1.47.0, sqlite3-3.42.0, 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'}
[debug] Loaded 1890 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
ERROR: Unable to obtain version info ([SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)); Please try again later or visit  https://github.com/yt-dlp/yt-dlp/releases/latest
[BilibiliPlaylist] Extracting URL: https://www.bilibili.com/list/watchlater?bvid=BV1kw411R7Jo
[BilibiliPlaylist] watchlater: Downloading webpage
ERROR: [BilibiliPlaylist] watchlater: Could not access playlist: -101 播单数 据请求失败; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "C:\Users\Tian\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\extractor\common.py", line 715, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Tian\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\extractor\bilibili.py", line 949, in _real_extract
    raise ExtractorError(f'Could not access playlist: {error_code} {error_message}')
@ischt ischt added site-bug Issue with a specific website triage Untriaged issue labels Nov 2, 2023
@bashonly bashonly added account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development labels Nov 2, 2023
@c-basalt
Copy link
Contributor

This looks weird. Btw, are you able to use yt-dlp --cookies cookies.file https://www.bilibili.com/watchlater instead?

bashonly pushed a commit that referenced this issue Feb 4, 2024
Addresses #8499
Authored by: c-basalt
FletcherD pushed a commit to FletcherD/yt-dlp that referenced this issue Feb 14, 2024
aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this issue Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development site-bug Issue with a specific website triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

3 participants