You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.
Happened in this course. It downloaded fine until lesson 3 titled "Lesson 3 If you backup the data in your own way, the important information " (note the trailing space at the end of the lesson name), then it started throwing errors like this:
[*] : Lecture(s) : (1 of 19)
[*] : Downloading (040 123991i61n712395(Introduction))
[*] : Lecture : '040 123991i61n712395(Introduction)' (download skipped).
[-] : Reason : [Errno 2] No such file or directory: 'D:\\projects\\github\\udemy-dl-master\\japanese-n2-course\\04 Lesson 3 If you backup the data in your own way the important information \\040 123991i61n712395(Introduction).mp4.part'
The downloader creates the directory without the trailing space, but when saving the file it tries to put it into a directory with the trailing space, therefore it fails. As a workaround I created the directory manually with a somewhat obscure command:
md "\\?\D:\\projects\\github\\udemy-dl-master\\japanese-n2-course\\04 Lesson 3 If you backup the data in your own way the important information "
Tested in Windows 10.
The text was updated successfully, but these errors were encountered:
Debugging the application I noticed os.makedirs is receiving the directory name with the trailing space, Python is trying to create it but the File System layer strips it (as explained here). So, I guess this can't be fixed (without an ugly Windows-only hack). For anyone else coming here with a similar error, the workaround is either creating it manually or using Linux.
Happened in this course. It downloaded fine until lesson 3 titled "Lesson 3 If you backup the data in your own way, the important information " (note the trailing space at the end of the lesson name), then it started throwing errors like this:
The downloader creates the directory without the trailing space, but when saving the file it tries to put it into a directory with the trailing space, therefore it fails. As a workaround I created the directory manually with a somewhat obscure command:
md "\\?\D:\\projects\\github\\udemy-dl-master\\japanese-n2-course\\04 Lesson 3 If you backup the data in your own way the important information "
Tested in Windows 10.
The text was updated successfully, but these errors were encountered: