-
Notifications
You must be signed in to change notification settings - Fork 68
[WinError 267] The directory name is invalid #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have this issue on my machine. The issue comes from the zoom title with semicolon / special characters that you can't use when creating a new folder in windows |
Hi, thanks for the reply. I'll try modifying the script to purge any unusable characters! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the script, it fails with the following error:
Traceback (most recent call last): File "C:\Users\rogie\Desktop\ZOOM-DOWNLOAD\zoom-recording-downloader\zoom-recording-downloader.py", line 291, in <module> main() File "C:\Users\rogie\Desktop\ZOOM-DOWNLOAD\zoom-recording-downloader\zoom-recording-downloader.py", line 267, in main success |= download_recording(download_url, email, filename, foldername) File "C:\Users\rogie\Desktop\ZOOM-DOWNLOAD\zoom-recording-downloader\zoom-recording-downloader.py", line 165, in download_recording os.makedirs(dl_dir, exist_ok=True) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\os.py", line 225, in makedirs mkdir(name, mode) NotADirectoryError: [WinError 267] The directory name is invalid: 'downloads\\Exhibition opening: “Tehno & eko & sistēmas” - 2022.11.26 - 04.08 PM UTC' C:\Users\rogie\Desktop\ZOOM-DOWNLOAD\zoom-recording-downloader>
As you can see I'm running the script on a Windows machine. Not sure where the double '' comes from.
The text was updated successfully, but these errors were encountered: