Hello, I am getting an error code like this when downloading some videos on windows 10.
line 69, in download_to_file :
with open(encoded_filename, 'wb') as output:
OSError: [Errno 22] Invalid argument: b'Hillo: Mis on halvinta skumppaa?: S01E01-2019-06-07T00:01.srt
And I think the reason for this error occurred because of character ":" (colon). Windows doesn't allow this character in folder name. Is there a solution for this error? Thanks.
Hello, I am getting an error code like this when downloading some videos on windows 10. line 69, in download_to_file :
OSError: [Errno 22] Invalid argument: b'Hillo: Mis on halvinta skumppaa?: S01E01-2019-06-07T00:01.srt
And I think the reason for this error occurred because of character ":" (colon). Windows doesn't allow this character in folder name. Is there a solution for this error? Thanks.