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

[bilibili.tv] Incomplete acquisition of subtitle format #7075

Closed
11 tasks done
ltsj opened this issue May 19, 2023 · 0 comments · Fixed by #7077
Closed
11 tasks done

[bilibili.tv] Incomplete acquisition of subtitle format #7075

ltsj opened this issue May 19, 2023 · 0 comments · Fixed by #7077
Labels
site-bug Issue with a specific website

Comments

@ltsj
Copy link

ltsj commented May 19, 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

Southeast Asia(Singapore and ...)

Provide a description that is worded well enough to be understood

image
image
https://api.bilibili.tv/intl/gateway/web/v2/subtitle?s_locale=en_US&platform=web&episode_id=12766944

The website has newly added ass subtitles, and video_subtitle contains subtitles in two formats: ass and srt.yt-dlp. It seems that what you get is under subtitles, which is not comprehensive.
as the picture shows

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

yt-dlp https://www.bilibili.tv/en/play/2079519/12766944 --list-subs --cookies bilibili_dny.txt -vU
[debug] Command-line config: ['https://www.bilibili.tv/en/play/2079519/12766944', '--list-subs', '--cookies', 'bilibili_dny.txt', '-vU']
[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@2023.03.04 [392389b7d] (zip)
[debug] Python 3.8.10 (CPython aarch64 64bit) - Linux-5.15.0-1017-oracle-aarch64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2019.11.28, mutagen-1.46.0, secretstorage-2.3.1, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.03.04, Current version: stable@2023.03.04
Current Build Hash: 91cad9f121c1f6f0a81b747415c46ecba0ff331ed38cc6433040b4ac7b6e15ca
yt-dlp is up to date (stable@2023.03.04)
[BiliIntl] Extracting URL: https://www.bilibili.tv/en/play/2079519/12766944
[BiliIntl] 12766944: Downloading JSON metadata
[BiliIntl] 12766944: Downloading webpage
[BiliIntl] 12766944: Downloading JSON metadata
[BiliIntl] 12766944: Downloading video formats
[BiliIntl] 12766944: Downloading subtitles list
[BiliIntl] 12766944: Downloading subtitles for English
WARNING: [BiliIntl] 12766944: Failed to parse JSON: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
[BiliIntl] 12766944: Downloading subtitles for ภาษาไทย
WARNING: [BiliIntl] 12766944: Failed to parse JSON: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
[BiliIntl] 12766944: Downloading subtitles for Tiếng Việt
[BiliIntl] 12766944: Downloading subtitles for Bahasa Indonesia
WARNING: [BiliIntl] 12766944: Failed to parse JSON: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
[BiliIntl] 12766944: Downloading subtitles for 中文(简体)
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available subtitles for 12766944:
Language Formats
vi       srt
zh-Hans  srt
@ltsj ltsj added site-bug Issue with a specific website triage Untriaged issue labels May 19, 2023
@bashonly bashonly removed the triage Untriaged issue label May 19, 2023
itachi-19 added a commit to itachi-19/yt-dlp that referenced this issue May 20, 2023
seproDev added a commit that referenced this issue Jan 18, 2024
Closes #7075, Closes #6664
Authored by: HobbyistDev, itachi-19, dirkf, seproDev

Co-authored-by: itachi-19 <16500619+itachi-19@users.noreply.github.com>
Co-authored-by: dirkf <fieldhouse@gmx.net>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this issue Apr 21, 2024
Closes yt-dlp#7075, Closes yt-dlp#6664
Authored by: HobbyistDev, itachi-19, dirkf, seproDev

Co-authored-by: itachi-19 <16500619+itachi-19@users.noreply.github.com>
Co-authored-by: dirkf <fieldhouse@gmx.net>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
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
Projects
None yet
2 participants