r0oth3x49 / udemy-dl

A cross-platform python based utility to download courses from udemy for personal offline use.
MIT License
4.83k stars 1.19k forks source link

I cant Download the whole course #577

Closed hjarw closed 3 years ago

hjarw commented 3 years ago

Hello together,

i want to download the whole course, but it only downloads one lecture at a time.

Can you help me? What do i have to do to download the whole course?

I have already used the following codes: python udemy-dl.py -u username -p passwort course-url python udemy-dl.py course-ur --chapter-start 1 --chapter-end 16 --lecture-start 1 --lecture-end 176

Traceback (most recent call last): File "D:\Video Download\udemy-dl.py", line 611, in main() File "D:\Video Download\udemy-dl.py", line 581, in main udemy_obj.course_download( File "D:\Video Download\udemy-dl.py", line 363, in course_download self.download_subtitles( File "D:\Video Download\udemy-dl.py", line 123, in download_subtitles self.convert(filename=filename, keep_vtt=keep_vtt) File "D:\Video Download\udemy\vtt2srt.py", line 108, in convert timecode = self._generate_timecode(seq, unescapeHTML(line)) File "D:\Video Download\udemy\utils.py", line 202, in unescapeHTML data = clean.unescape(s) AttributeError: 'HTMLParser' object has no attribute 'unescape'

thank you in advance for the trouble and answer