wkentaro / gdown

Google Drive Public File Downloader when Curl/Wget Fails
MIT License
4.11k stars 343 forks source link

Folder download fails when Drive uses non-latin alphabet #205

Closed MPihlap closed 1 year ago

MPihlap commented 2 years ago

Provide environment information

Python 3.5.1 gdown 4.5.1

What OS are you using?

Windows 10

Describe the Bug

Parsing the filename in the parse_google_drive_file function fails when the host uses Drive in Russian. This is because they use special space characters, see attached file. Is fixed by normalizing unicode in "NFKC" mode. stacktrace.txt

Expected Behavior

No response

To Reproduce

No response