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

Yt-dlp cannot fetch video list information in a channel of bilibili #9528

Open
11 tasks done
changlehu opened this issue Mar 25, 2024 · 0 comments
Open
11 tasks done

Yt-dlp cannot fetch video list information in a channel of bilibili #9528

changlehu opened this issue Mar 25, 2024 · 0 comments
Labels
site-bug Issue with a specific website triage Untriaged issue

Comments

@changlehu
Copy link

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

Yt-dlp cannot fetch video list information in a channel of bilibili.
It can still downloads single bilibili video.

yt-dlp https://space.bilibili.com/1984487658/video
[BilibiliSpaceVideo] Extracting URL: https://space.bilibili.com/1984487658/video
[BilibiliSpaceVideo] 1984487658: Downloading JSON metadata
[BilibiliSpaceVideo] 1984487658: Downloading page 0
ERROR: 1984487658: An extractor error has occurred. (caused by KeyError('page')); 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

I'm using the latest yt-dlp.
[debug] yt-dlp version stable@2024.03.10 from yt-dlp/yt-dlp [615a844] (pip)

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

D:\myweb\test\turtle_diary_test>yt-dlp -vU https://space.bilibili.com/1984487658/video
[debug] Command-line config: ['-vU', 'https://space.bilibili.com/1984487658/video']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.03.10 from yt-dlp/yt-dlp [615a84447] (pip)
[debug] Python 3.8.10 (CPython AMD64 32bit) - Windows-10-10.0.26085-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg git-2020-02-18-ebee808, ffprobe git-2020-02-18-ebee808, rtmpdump 2.3
[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.2.1, websockets-12.0
[debug] Proxy map: {'http': 'http://127.0.0.1:10809', 'https': 'http://127.0.0.1:10809', 'ftp': 'http://127.0.0.1:10809'}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1803 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.03.10 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.03.10 from yt-dlp/yt-dlp)
[BilibiliSpaceVideo] Extracting URL: https://space.bilibili.com/1984487658/video
[BilibiliSpaceVideo] 1984487658: Downloading JSON metadata
[BilibiliSpaceVideo] 1984487658: Downloading page 0
ERROR: 1984487658: An extractor error has occurred. (caused by KeyError('page')); 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:\Python\lib\site-packages\yt_dlp\extractor\common.py", line 732, in extract
    ie_result = self._real_extract(url)
  File "C:\Python\lib\site-packages\yt_dlp\extractor\bilibili.py", line 1069, in _real_extract
    metadata, paged_list = self._extract_playlist(fetch_page, get_metadata, get_entries)
  File "C:\Python\lib\site-packages\yt_dlp\extractor\bilibili.py", line 973, in _extract_playlist
    metadata = get_metadata(first_page)
  File "C:\Python\lib\site-packages\yt_dlp\extractor\bilibili.py", line 1058, in get_metadata
    page_size = page_data['page']['ps']
KeyError: 'page'
@changlehu changlehu added site-bug Issue with a specific website triage Untriaged issue labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

1 participant