-
Notifications
You must be signed in to change notification settings - Fork 83
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
books can't be downloaded if the filename contains symbol <?> #34
Comments
reason195
changed the title
books can't be downloaded if the filename contents ?
books can't be downloaded if the filename contains symbol <?>
Nov 7, 2020
pablodelflo
added a commit
to pablodelflo/packtpub-downloader
that referenced
this issue
Feb 9, 2021
Corrected the issue lmbringas#34 (books can't be downloaded if the filename contains symbol <?>) for errors in book names with ?
Open
Hello @reason195 @lmbringas . I found a workarround for this issue. You have to edit the main.py file on line 209. Originally we have:
Change it to:
|
greenflute
pushed a commit
to greenflute/Packt-Subscriber_Downloader
that referenced
this issue
Sep 12, 2021
Corrected the issue lmbringas#34 (books can't be downloaded if the filename contains symbol <?>) for errors in book names with ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting to download G:\packt/AWS_Certified_Developer_???Associate_Guide-Second_Edition.epub
Traceback (most recent call last):
File "G:\packtpub-downloader-master\main.py", line 226, in
main(sys.argv[1:])
File "G:\packtpub-downloader-master\main.py", line 218, in main
download_book(filename, url)
File "G:\packtpub-downloader-master\main.py", line 103, in download_book
with open(filename, 'wb') as f:
OSError: [Errno 22] Invalid argument: 'G:\packt/AWS_Certified_Developer???Associate_Guide-_Second_Edition.epub'
The text was updated successfully, but these errors were encountered: