Skip to content

[youtube] still download translated_subs with --extractor-args youtube:skip=translated_subs #4090

@NewUserHa

Description

@NewUserHa

Checklist

Region

No response

Description

[info] Available automatic captions for 8-nXN9ZMl8o:
Language Name                  Formats
af       Afrikaans             vtt, ttml, srv3, srv2, srv1, json3
sq       Albanian              vtt, ttml, srv3, srv2, srv1, json3
am       Amharic               vtt, ttml, srv3, srv2, srv1, json3
ar       Arabic                vtt, ttml, srv3, srv2, srv1, json3
hy       Armenian              vtt, ttml, srv3, srv2, srv1, json3
az       Azerbaijani           vtt, ttml, srv3, srv2, srv1, json3
bn       Bangla                vtt, ttml, srv3, srv2, srv1, json3
eu       Basque                vtt, ttml, srv3, srv2, srv1, json3
be       Belarusian            vtt, ttml, srv3, srv2, srv1, json3
bs       Bosnian               vtt, ttml, srv3, srv2, srv1, json3
bg       Bulgarian             vtt, ttml, srv3, srv2, srv1, json3
my       Burmese               vtt, ttml, srv3, srv2, srv1, json3
ca       Catalan               vtt, ttml, srv3, srv2, srv1, json3
ceb      Cebuano               vtt, ttml, srv3, srv2, srv1, json3
zh-Hans  Chinese (Simplified)  vtt, ttml, srv3, srv2, srv1, json3
zh-Hant  Chinese (Traditional) vtt, ttml, srv3, srv2, srv1, json3
co       Corsican              vtt, ttml, srv3, srv2, srv1, json3
hr       Croatian              vtt, ttml, srv3, srv2, srv1, json3
cs       Czech                 vtt, ttml, srv3, srv2, srv1, json3
da       Danish                vtt, ttml, srv3, srv2, srv1, json3
nl       Dutch                 vtt, ttml, srv3, srv2, srv1, json3
en-orig  English (Original)    vtt, ttml, srv3, srv2, srv1, json3
en       English               vtt, ttml, srv3, srv2, srv1, json3
eo       Esperanto             vtt, ttml, srv3, srv2, srv1, json3
et       Estonian              vtt, ttml, srv3, srv2, srv1, json3
fil      Filipino              vtt, ttml, srv3, srv2, srv1, json3
fi       Finnish               vtt, ttml, srv3, srv2, srv1, json3
fr       French                vtt, ttml, srv3, srv2, srv1, json3
gl       Galician              vtt, ttml, srv3, srv2, srv1, json3
ka       Georgian              vtt, ttml, srv3, srv2, srv1, json3
de       German                vtt, ttml, srv3, srv2, srv1, json3
el       Greek                 vtt, ttml, srv3, srv2, srv1, json3
gu       Gujarati              vtt, ttml, srv3, srv2, srv1, json3
ht       Haitian Creole        vtt, ttml, srv3, srv2, srv1, json3
ha       Hausa                 vtt, ttml, srv3, srv2, srv1, json3
haw      Hawaiian              vtt, ttml, srv3, srv2, srv1, json3
iw       Hebrew                vtt, ttml, srv3, srv2, srv1, json3
hi       Hindi                 vtt, ttml, srv3, srv2, srv1, json3
hmn      Hmong                 vtt, ttml, srv3, srv2, srv1, json3
hu       Hungarian             vtt, ttml, srv3, srv2, srv1, json3
is       Icelandic             vtt, ttml, srv3, srv2, srv1, json3
ig       Igbo                  vtt, ttml, srv3, srv2, srv1, json3
id       Indonesian            vtt, ttml, srv3, srv2, srv1, json3
ga       Irish                 vtt, ttml, srv3, srv2, srv1, json3
it       Italian               vtt, ttml, srv3, srv2, srv1, json3
ja       Japanese              vtt, ttml, srv3, srv2, srv1, json3
jv       Javanese              vtt, ttml, srv3, srv2, srv1, json3
kn       Kannada               vtt, ttml, srv3, srv2, srv1, json3
kk       Kazakh                vtt, ttml, srv3, srv2, srv1, json3
km       Khmer                 vtt, ttml, srv3, srv2, srv1, json3
rw       Kinyarwanda           vtt, ttml, srv3, srv2, srv1, json3
ko       Korean                vtt, ttml, srv3, srv2, srv1, json3
ku       Kurdish               vtt, ttml, srv3, srv2, srv1, json3
ky       Kyrgyz                vtt, ttml, srv3, srv2, srv1, json3
lo       Lao                   vtt, ttml, srv3, srv2, srv1, json3
la       Latin                 vtt, ttml, srv3, srv2, srv1, json3
lv       Latvian               vtt, ttml, srv3, srv2, srv1, json3
lt       Lithuanian            vtt, ttml, srv3, srv2, srv1, json3
lb       Luxembourgish         vtt, ttml, srv3, srv2, srv1, json3
mk       Macedonian            vtt, ttml, srv3, srv2, srv1, json3
mg       Malagasy              vtt, ttml, srv3, srv2, srv1, json3
ms       Malay                 vtt, ttml, srv3, srv2, srv1, json3
ml       Malayalam             vtt, ttml, srv3, srv2, srv1, json3
mt       Maltese               vtt, ttml, srv3, srv2, srv1, json3
mi       Māori                 vtt, ttml, srv3, srv2, srv1, json3
mr       Marathi               vtt, ttml, srv3, srv2, srv1, json3
mn       Mongolian             vtt, ttml, srv3, srv2, srv1, json3
ne       Nepali                vtt, ttml, srv3, srv2, srv1, json3
no       Norwegian             vtt, ttml, srv3, srv2, srv1, json3
ny       Nyanja                vtt, ttml, srv3, srv2, srv1, json3
or       Odia                  vtt, ttml, srv3, srv2, srv1, json3
ps       Pashto                vtt, ttml, srv3, srv2, srv1, json3
fa       Persian               vtt, ttml, srv3, srv2, srv1, json3
pl       Polish                vtt, ttml, srv3, srv2, srv1, json3
pt       Portuguese            vtt, ttml, srv3, srv2, srv1, json3
pa       Punjabi               vtt, ttml, srv3, srv2, srv1, json3
ro       Romanian              vtt, ttml, srv3, srv2, srv1, json3
ru       Russian               vtt, ttml, srv3, srv2, srv1, json3
sm       Samoan                vtt, ttml, srv3, srv2, srv1, json3
gd       Scottish Gaelic       vtt, ttml, srv3, srv2, srv1, json3
sr       Serbian               vtt, ttml, srv3, srv2, srv1, json3
sn       Shona                 vtt, ttml, srv3, srv2, srv1, json3
sd       Sindhi                vtt, ttml, srv3, srv2, srv1, json3
si       Sinhala               vtt, ttml, srv3, srv2, srv1, json3
sk       Slovak                vtt, ttml, srv3, srv2, srv1, json3
sl       Slovenian             vtt, ttml, srv3, srv2, srv1, json3
so       Somali                vtt, ttml, srv3, srv2, srv1, json3
st       Southern Sotho        vtt, ttml, srv3, srv2, srv1, json3
es       Spanish               vtt, ttml, srv3, srv2, srv1, json3
su       Sundanese             vtt, ttml, srv3, srv2, srv1, json3
sw       Swahili               vtt, ttml, srv3, srv2, srv1, json3
sv       Swedish               vtt, ttml, srv3, srv2, srv1, json3
tg       Tajik                 vtt, ttml, srv3, srv2, srv1, json3
ta       Tamil                 vtt, ttml, srv3, srv2, srv1, json3
tt       Tatar                 vtt, ttml, srv3, srv2, srv1, json3
te       Telugu                vtt, ttml, srv3, srv2, srv1, json3
th       Thai                  vtt, ttml, srv3, srv2, srv1, json3
tr       Turkish               vtt, ttml, srv3, srv2, srv1, json3
tk       Turkmen               vtt, ttml, srv3, srv2, srv1, json3
uk       Ukrainian             vtt, ttml, srv3, srv2, srv1, json3
ur       Urdu                  vtt, ttml, srv3, srv2, srv1, json3
ug       Uyghur                vtt, ttml, srv3, srv2, srv1, json3
uz       Uzbek                 vtt, ttml, srv3, srv2, srv1, json3
vi       Vietnamese            vtt, ttml, srv3, srv2, srv1, json3
cy       Welsh                 vtt, ttml, srv3, srv2, srv1, json3
fy       Western Frisian       vtt, ttml, srv3, srv2, srv1, json3
xh       Xhosa                 vtt, ttml, srv3, srv2, srv1, json3
yi       Yiddish               vtt, ttml, srv3, srv2, srv1, json3
yo       Yoruba                vtt, ttml, srv3, srv2, srv1, json3
zu       Zulu                  vtt, ttml, srv3, srv2, srv1, json3
[info] Available subtitles for 8-nXN9ZMl8o:
Language Name    Formats
en       English vtt, ttml, srv3, srv2, srv1, json3

but other links no issue with --extractor-args youtube:skip=translated_subs

Verbose log

[debug] Command-line config: ['-vU', '--write-sub', '--write-auto-sub', '--convert-subs', 'srt', '--sub-lang', 'en.*,en-US,ja', '--extractor-args', 'youtube:skip=translated_subs', 'https://youtu.be/8-nXN9ZMl8o', '--skip-download']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.05.18 [b14d52355]
[debug] Python version 3.10.5 (CPython 64bit) - Windows-10-10.0.17134-SP0
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: ffmpeg -bsfs
[debug] exe versions: ffmpeg 5.0-full_build-www.gyan.dev (setts), ffprobe 5.0-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2022.05.18.1, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
Latest version: 2022.05.18, Current version: 2022.05.18
yt-dlp is up to date (2022.05.18)
[debug] [youtube] Extracting URL: https://youtu.be/8-nXN9ZMl8o
[youtube] 8-nXN9ZMl8o: Downloading webpage
[youtube] 8-nXN9ZMl8o: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Downloading subtitles: en, en-orig, ja
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 8-nXN9ZMl8o: Downloading 1 format(s): 313+251
[info] Writing video subtitles to: Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en.vtt
[debug] Invoking http downloader on "https://www.youtube.com/api/timedtext?v=8-nXN9ZMl8o&caps=asr&xoaf=4&xosf=1&hl=en&ip=0.0.0.0&ipbits=0&expire=1655430436&sparams=ip%2Cipbits%2Cexpire%2Cv%2Ccaps%2Cxoaf&signature=87AEC7EF4D6D831C054E683C9EA46B408263B8AD.5AC6D3A47C43254FD431685FB3DC450E6B336BA1&key=yt8&lang=en&fmt=vtt"
[debug] File locking is not supported on this platform. Proceeding without locking
[download] Destination: Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en.vtt
[download] 100% of 10.34KiB in 00:00
[info] Writing video subtitles to: Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en-orig.vtt
[debug] Invoking http downloader on "https://www.youtube.com/api/timedtext?v=8-nXN9ZMl8o&caps=asr&xoaf=4&xosf=1&hl=en&ip=0.0.0.0&ipbits=0&expire=1655430436&sparams=ip%2Cipbits%2Cexpire%2Cv%2Ccaps%2Cxoaf&signature=87AEC7EF4D6D831C054E683C9EA46B408263B8AD.5AC6D3A47C43254FD431685FB3DC450E6B336BA1&key=yt8&kind=asr&lang=en&fmt=vtt"
[download] Destination: Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en-orig.vtt
[download] 100% of 16.73KiB in 00:00
[info] Writing video subtitles to: Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].ja.vtt
[debug] Invoking http downloader on "https://www.youtube.com/api/timedtext?v=8-nXN9ZMl8o&caps=asr&xoaf=4&xosf=1&hl=en&ip=0.0.0.0&ipbits=0&expire=1655430436&sparams=ip%2Cipbits%2Cexpire%2Cv%2Ccaps%2Cxoaf&signature=87AEC7EF4D6D831C054E683C9EA46B408263B8AD.5AC6D3A47C43254FD431685FB3DC450E6B336BA1&key=yt8&kind=asr&lang=en&tlang=ja&fmt=vtt"
[download] Destination: Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].ja.vtt
[download] 100% of 17.42KiB in 00:00
[SubtitlesConvertor] Converting subtitles
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en.vtt" -f srt -movflags "+faststart" "file:Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en.srt"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en-orig.vtt" -f srt -movflags "+faststart" "file:Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en-orig.srt"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].ja.vtt" -f srt -movflags "+faststart" "file:Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].ja.srt"
Deleting original file Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].ja.vtt (pass -k to keep)
Deleting original file Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en-orig.vtt (pass -k to keep)
Deleting original file Overwatch Animated Short _ “The Wastelander” [4K] [8-nXN9ZMl8o].en.vtt (pass -k to keep)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions