r0oth3x49 / udemy-dl

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

Tool couldn't download videos which has non-ascii characters in file names #57

Closed Asderdd closed 6 years ago

Asderdd commented 6 years ago

[] : Downloaded course information webpages successfully.. [] : Trying to logout now... [+] : Logged out successfully. [*] : Counting no of chapters.. [+] : Found ('18') chapter(s).

[*] : Downloading chapter : (1 of 18) [+] : Chapter (01 Kursa Giri351) [+] : Found ('4') lecture(s).

[] : Downloading lecture : (1 of 4) [] : Downloading (001 Kursun Genel Tan305t305m305) Traceback (most recent call last): File "udemy-dl.py", line 924, in main() File "udemy-dl.py", line 840, in main udemy.ExtractAndDownload(path=outto) File "udemy-dl.py", line 409, in ExtractAndDownload msg = self.Downloader(_url, lecture_name, chapter_path) File "udemy-dl.py", line 89, in Downloader out = course_dl.download(url, title, filepath=path, quiet=True, callback=self.Download) File "/home/asderdd/udemy-2/udemy-dl/udemy/_downloader.py", line 101, in download outfh = open(temp_filepath, fmode) IOError: [Errno 2] No such file or directory: './down/sifirdan-ileri-seviyeye-python/01 Kursa Giri351.part'

@:~/udemy-2/udemy-dl$ ls ./down/sifirdan-ileri-seviyeye-python 01 Kursa Giri351

r0oth3x49 commented 6 years ago

@Asderdd need more details.

Update i will close the issue tomorrow by details required.

SalihKARAHAN commented 6 years ago

this issue related with #51 and you should not close issues without producing a solution ⚠️

r0oth3x49 commented 6 years ago

@SalihKARAHAN i don't think so this is related, you can see the error in downloading and i already have escaped those numbers in a name. so i 'm closing this