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

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

Closed
N1CEyk opened this issue Jun 21, 2016 · 7 comments
Closed

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

N1CEyk opened this issue Jun 21, 2016 · 7 comments

Comments

@N1CEyk
Copy link

@N1CEyk N1CEyk commented 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

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 21, 2016

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

@yan12125 yan12125 closed this Jun 21, 2016
@N1CEyk
Copy link
Author

@N1CEyk N1CEyk commented 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 #9847.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#9847 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/APsBmsMD9nAPHmv7WPhLdHsoQ34zyXkwks5qN86dgaJpZM4I6o3k
.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented 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.

@N1CEyk
Copy link
Author

@N1CEyk N1CEyk commented 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
#9847 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/APsBmpqRX2CDsXxSvgc-g8hzhnk3_-MFks5qN9EcgaJpZM4I6o3k
.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 21, 2016

Could you post the full log, including your command?

@N1CEyk
Copy link
Author

@N1CEyk N1CEyk commented 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
#9847 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/APsBmoml4WYHGRjPR3w12grW8VJhMaPZks5qN9WDgaJpZM4I6o3k
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.