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

Incorrect grammar in YouTube log output: "There's no subtitles" should be "There are no subtitles" #6726

Closed
10 tasks done
synthead opened this issue Apr 6, 2023 · 0 comments
Closed
10 tasks done
Labels
docs/meta/cleanup related to docs, code cleanup, templates, devscripts etc

Comments

@synthead
Copy link

synthead commented Apr 6, 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

  • I'm reporting a bug unrelated to a specific site
  • I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
  • I've checked that all provided URLs are playable in a browser with the same IP and same login details
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood

When downloading subtitles from YouTube for a video that does not have subtitles, this log output is displayed:

[info] There's no subtitles for the requested languages

"There's" is a contraction for "there is," and "there is no subtitles" is not correct, as "is" is singular. The log output should be:

[info] There are no subtitles for the requested languages

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', '--skip-download', '--write-auto-sub', '--', 'https://www.youtube.com/watch?v=x4q8VE8cJx8']
[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]
[debug] Python 3.10.10 (CPython x86_64 64bit) - Linux-6.2.9-arch1-1-x86_64-with-glibc2.37 (OpenSSL 3.0.8 7 Feb 2023, glibc 2.37)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.12.0, certifi-2022.12.07, sqlite3-2.6.0, websockets-10.4
[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
yt-dlp is up to date (stable@2023.03.04)
[youtube] Extracting URL: https://www.youtube.com/watch?v=x4q8VE8cJx8
[youtube] x4q8VE8cJx8: Downloading webpage
[youtube] x4q8VE8cJx8: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] x4q8VE8cJx8: Downloading 1 format(s): 18
[info] There's no subtitles for the requested languages
@synthead synthead added bug Bug that is not site-specific triage Untriaged issue labels Apr 6, 2023
@bashonly bashonly added docs/meta/cleanup related to docs, code cleanup, templates, devscripts etc and removed bug Bug that is not site-specific triage Untriaged issue labels Apr 6, 2023
@pukkandan pukkandan assigned pukkandan and unassigned pukkandan Apr 7, 2023
stanoarn pushed a commit to stanoarn/yt-dlp that referenced this issue May 26, 2023
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
docs/meta/cleanup related to docs, code cleanup, templates, devscripts etc
Projects
None yet
3 participants