Closed NewUserHa closed 2 years ago
Adding --no-playlist
should work around the issue
True. but the extractor can probably be improved, to distinguish single video and playlist too.
another issue: %(id)s
tag doesn't follow the youtube one's, like to be "BV1qh41187Ag" in this example case
True. but the extractor can probably be improved, to distinguish single video and playlist too.
Yes, was just giving you a workaround in the meantime
in current last version, the debug info is fixed, but the real file name is still incorrect as before.
yt-dlp -Uv https://www.bilibili.com/video/BV1KS4y197BN
[debug] Command-line config: ['-Uv', 'https://www.bilibili.com/video/BV1KS4y197BN']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, err utf-8, pref cp936
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.17134-SP0
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1KS4y197BN
[BiliBili] 1KS4y197BN: Grabbing original ID via API
[BiliBili] 722153828: Downloading webpage
[BiliBili] 722153828: Extracting videos in anthology
[BiliBili] Downloading anthology 722153828 - add --no-playlist to just download video
[download] Downloading playlist: 久等了!B站首个8K视频来了,追寻最美中国星
[BiliBili] playlist 久等了!B站首个8K视频来了,追寻最美中国星: Collected 1 videos; downloading 1 of them
[download] Downloading video 1 of 1
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1KS4y197BN?p=1
[BiliBili] 1KS4y197BN: Grabbing original ID via API
[BiliBili] 722153828: Downloading webpage
[BiliBili] 722153828: Downloading video info page
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 722153828: Extracting videos in anthology
[BiliBili] 722153828: Downloading tags
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 722153828_part1: Downloading 1 format(s): 2
[debug] Invoking downloader on "http://cn-scya-dx-bcache-02.bilivideo.com/upgcxcode/63/22/455022263/455022263_nb2-1-80.flv?e=ig8euxZM2rNcNbh17zUVhoMzhWuBhwdEto8g5X10ugNcXBlqNxHxNEVE5XREto8KqJZHUa6m5J0SqE85tZvEuENvNC8xNEVE9EKE9IMvXBvE2ENvNCImNEVEK9GVqJIwqa80WXIekXRE9IMvXBvEuENvNCImNEVEua6m2jIxux0CkF6s2JZv5x0DQJZY2F8SkXKE9IB5QK==&deadline=1641528490&gen=playurl&nbs=1&oi=3738341524&os=bcache&platform=pc&trid=000007a7c6ac4c2d49f7aa1e58ea54855ba9&uipk=5&upsig=c0d23e1393f9bf5a3b08ae107387778f&uparams=e,deadline,gen,nbs,oi,os,platform,trid,uipk&mid=0"
[download] Destination: 8Kfinal_B站_8K版 [722153828_part1].flv
[download] 3.8% of 20.56MiB at 287.59KiB/s ETA 01:10
ERROR: Interrupted by user
Checklist
Region
No response
Description
All single video page URL like the one in the verbose log is treated as a playlist URL incorrectly, and
%(title)s
is not right too.detail tags:
Verbose log