Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Unable to download subtitles from every language #595

Closed
Bigemul opened this issue Dec 5, 2020 · 2 comments
Closed

Unable to download subtitles from every language #595

Bigemul opened this issue Dec 5, 2020 · 2 comments

Comments

@Bigemul
Copy link

Bigemul commented Dec 5, 2020

Describe the bug

I get:
udemy-dl.py: error: argument -s/--sub-lang: expected one argument.

While downloading, I used --sub-lang but it also works with -s without argument.

To Reproduce

python3 udemy-dl.py my_course_url --chapter-start 1 --chapter-end 5 -k cookies.txt --sub-lang

Expected behavior
I would like to download every subtitle.

Python Environment (please complete the following information):
I just manually updated everything in the requirements.txt file.
I didn't update python since I already have 3.8.3 and I saw someone with m3u8 issue (solved?) with an updated version of Python.

@r0oth3x49
Copy link
Owner

@Bigemul you can now use -s all as switch to download all subtitles.

@RiseT
Copy link

RiseT commented Apr 4, 2021

@r0oth3x49 I guess the docs should get adjusted then, as they don't mention "all":

Download specific subtite by using language code such as (en, es) if lang switch is not specified then default will be all subtitles

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants