I only want to download the subtitle,how to do it? #8089

Closed
opened 2026-02-21 03:04:02 -05:00 by deekerman · 7 comments
Owner

Originally created by @N1CEyk on GitHub (Jun 21, 2016).

youtube-dl.exe --subs-lang en,cn-TW https://www.youtube.com/watch?v=rSQNi5sAwuc&gl=CA
I try to download subs like this,but it's wrong I don't know why

Originally created by @N1CEyk on GitHub (Jun 21, 2016). youtube-dl.exe --subs-lang en,cn-TW https://www.youtube.com/watch?v=rSQNi5sAwuc&gl=CA I try to download subs like this,but it's wrong I don't know why
Author
Owner

@yan12125 commented on GitHub (Jun 21, 2016):

Add --write-sub besides --sub-lang.

@yan12125 commented on GitHub (Jun 21, 2016): Add `--write-sub` besides `--sub-lang`.
Author
Owner

@N1CEyk commented on GitHub (Jun 21, 2016):

In fact ,I only want to download the subtitle file!Can it come true?

2016-06-21 19:44 GMT+08:00 Yen Chi Hsuan notifications@github.com:

Closed #9847 https://github.com/rg3/youtube-dl/issues/9847.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/9847#event-698924305, or mute
the thread
https://github.com/notifications/unsubscribe/APsBmsMD9nAPHmv7WPhLdHsoQ34zyXkwks5qN86dgaJpZM4I6o3k
.

@N1CEyk commented on GitHub (Jun 21, 2016): In fact ,I only want to download the subtitle file!Can it come true? 2016-06-21 19:44 GMT+08:00 Yen Chi Hsuan notifications@github.com: > Closed #9847 https://github.com/rg3/youtube-dl/issues/9847. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > https://github.com/rg3/youtube-dl/issues/9847#event-698924305, or mute > the thread > https://github.com/notifications/unsubscribe/APsBmsMD9nAPHmv7WPhLdHsoQ34zyXkwks5qN86dgaJpZM4I6o3k > .
Author
Owner

@yan12125 commented on GitHub (Jun 21, 2016):

One more option. For example:

youtube-dl.exe --write-sub --sub-lang en,cn-TW --skip-download https://www.youtube.com/watch?v=rSQNi5sAwuc&gl=CA

The option --skip-download skips downloading videos while other assets (subtitles, thumbnails, etc.) are still downloaded.

@yan12125 commented on GitHub (Jun 21, 2016): One more option. For example: ``` youtube-dl.exe --write-sub --sub-lang en,cn-TW --skip-download https://www.youtube.com/watch?v=rSQNi5sAwuc&gl=CA ``` The option `--skip-download` skips downloading videos while other assets (subtitles, thumbnails, etc.) are still downloaded.
Author
Owner

@N1CEyk commented on GitHub (Jun 21, 2016):

When command executes until downloading the subtitle,it stops and prompts
'gl' isn't internal or external command ……

2016-06-21 19:55 GMT+08:00 Yen Chi Hsuan notifications@github.com:

One more option. For example:

youtube-dl.exe --write-sub --sub-lang en,cn-TW --skip-download https://www.youtube.com/watch?v=rSQNi5sAwuc&gl=CA

The option --skip-download skips downloading videos while other assets
(subtitles, thumbnails, etc.) are still downloaded.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/9847#issuecomment-227417771,
or mute the thread
https://github.com/notifications/unsubscribe/APsBmpqRX2CDsXxSvgc-g8hzhnk3_-MFks5qN9EcgaJpZM4I6o3k
.

@N1CEyk commented on GitHub (Jun 21, 2016): When command executes until downloading the subtitle,it stops and prompts 'gl' isn't internal or external command …… 2016-06-21 19:55 GMT+08:00 Yen Chi Hsuan notifications@github.com: > One more option. For example: > > youtube-dl.exe --write-sub --sub-lang en,cn-TW --skip-download https://www.youtube.com/watch?v=rSQNi5sAwuc&gl=CA > > The option --skip-download skips downloading videos while other assets > (subtitles, thumbnails, etc.) are still downloaded. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > https://github.com/rg3/youtube-dl/issues/9847#issuecomment-227417771, > or mute the thread > https://github.com/notifications/unsubscribe/APsBmpqRX2CDsXxSvgc-g8hzhnk3_-MFks5qN9EcgaJpZM4I6o3k > .
Author
Owner

@yan12125 commented on GitHub (Jun 21, 2016):

Could you post the full log, including your command?

@yan12125 commented on GitHub (Jun 21, 2016): Could you post the full log, including your command?
Author
Owner

@yan12125 commented on GitHub (Jun 21, 2016):

Oh seems you need to enclose the URL with double quotes. See https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command.

@yan12125 commented on GitHub (Jun 21, 2016): Oh seems you need to enclose the URL with double quotes. See https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command.
Author
Owner

@N1CEyk commented on GitHub (Jun 21, 2016):

Thanks for your help. As a chinese,I appreciate your work very much!

2016-06-21 20:13 GMT+08:00 Yen Chi Hsuan notifications@github.com:

Oh seems you need to enclose the URL with double quotes. See
https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command
.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/9847#issuecomment-227421416,
or mute the thread
https://github.com/notifications/unsubscribe/APsBmoml4WYHGRjPR3w12grW8VJhMaPZks5qN9WDgaJpZM4I6o3k
.

@N1CEyk commented on GitHub (Jun 21, 2016): Thanks for your help. As a chinese,I appreciate your work very much! 2016-06-21 20:13 GMT+08:00 Yen Chi Hsuan notifications@github.com: > Oh seems you need to enclose the URL with double quotes. See > https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command > . > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > https://github.com/rg3/youtube-dl/issues/9847#issuecomment-227421416, > or mute the thread > https://github.com/notifications/unsubscribe/APsBmoml4WYHGRjPR3w12grW8VJhMaPZks5qN9WDgaJpZM4I6o3k > .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#8089
No description provided.