ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites

Home Page:http://ytdl-org.github.io/youtube-dl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can bilibili.com be supported?

RobotSe7en opened this issue · comments

Checklist

  • I'm reporting a new site support request
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that none of provided URLs violate any copyrights
  • I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Description

WRITE DESCRIPTION HERE

It is, but the support just isn't working at the moment. #32722

Also, WIP revised extractor:

$ python3 -m youtube_dl -vF 'https://www.bilibili.com/video/BV1DK421b7JX/?vd_source=1bd5e62344b638f8f458e6e394f9d491'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-vF', 'https://www.bilibili.com/video/BV1DK421b7JX/?vd_source=1bd5e62344b638f8f458e6e394f9d491']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 625736974
[debug] Python 3.11.2 (CPython i686 32bit) - Linux-6.1.0-18-686-pae-i686-with-glibc2.36 - OpenSSL 3.0.11 19 Sep 2023 - glibc 2.36
[debug] exe versions: ffmpeg 5.1.4-0, ffprobe 5.1.4-0
[debug] Proxy map: {}
[BiliBili] 1DK421b7JX: Downloading webpage
[BiliBili] BV1DK421b7JX: Extracting videos in anthology
[BiliBili] 1700793630: Extracting chapters
[BiliBili] Format(s) 1080P 高清, 720P 高清, 4K 超清, HDR 真彩 are missing: you have to login or become a premium member to download them. Use --cookies to authenticate.
[info] Available formats for BV1DK421b7JX:
format code  extension  resolution note
30216        m4a        audio only   36k , mp4a.40.5
30232        m4a        audio only   79k , mp4a.40.2
30280        m4a        audio only   79k , mp4a.40.2
100046       mp4        640x360      29k , avc1.64001e, 30.303fps, video only
100022       mp4        640x360      35k , av01.0.08m.08.0.110.01.01.01.0, 30.019fps, video only
100109       mp4        640x360      50k , hev1.1.6.l120.90, 30.303fps, video only
100047       mp4        852x480      48k , avc1.64001f, 30.303fps, video only
100023       mp4        852x480      54k , av01.0.08m.08.0.110.01.01.01.0, 30.019fps, video only
100110       mp4        852x480      73k , hev1.1.6.l120.90, 30.303fps, video only (best)
$