yshean / safari-video-downloader

Download videos from Safari Books Online at ease.
GNU General Public License v3.0
46 stars 26 forks source link

NotADirectoryError: [WinError 267] #3

Open mainaksh opened 6 years ago

mainaksh commented 6 years ago

C:\temp\safari-video-downloader>python safari_downloader.py youtube-dl is up-to-date (2018.04.16) Traceback (most recent call last): File "safari_downloader.py", line 70, in downloader.download() File "safari_downloader.py", line 48, in download os.makedirs(save_folder, exist_ok=True) File "C:\Users\Soni\AppData\Local\Programs\Python\Python36-32\lib\os.py", line 220, in makedirs mkdir(name, mode) NotADirectoryError: [WinError 267] The directory name is invalid: 'C://temp//vid eos/Chapter 1 : Building Our Lab'

mainaksh commented 6 years ago

tried all combinations for OUTPUT_FOLDER = 'C:\temp\videos' or 'C:\temp\videos' or 'C:/temp/videos' or 'C://temp//videos' ---none worked

fahimfss commented 6 years ago

Had the same issue ... file name contained ':' in my case. workaround (safari_downloader.py): https://ideone.com/ib8n7W

nabilazri commented 6 years ago

thanks a lot fahim1993 :)

ghost commented 4 years ago

Had the same issue ... file name contained ':' in my case. workaround (safari_downloader.py): https://ideone.com/ib8n7W

What do i do with this file? Please help me :)