Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

does not download entire media #1

Closed
alfratrople opened this issue Oct 13, 2021 · 9 comments
Closed

does not download entire media #1

alfratrople opened this issue Oct 13, 2021 · 9 comments
Labels

Comments

@alfratrople
Copy link

ive tried running this several times and it downloads maybe 1/6th of the total images and videos before closing/crashing (??) i dont have the knowledge necessary to offer anything more helpful than that to diagnose the problem, sorry.

@Avnsx
Copy link
Owner

Avnsx commented Oct 13, 2021

Go to configuration file and set Media previews to True. If you read the console output, you would have known this yourself since it prompts you to exactly do that whenever there's not enough content downloaded.

@Avnsx Avnsx closed this as completed Oct 13, 2021
@alfratrople
Copy link
Author

the console was closing without giving me the opporunity to see what the problem was. i followed your advice and now it says something similar to: Erron (sic) when trying to download: [garbled filename with question marks] Please copy and paste this in github with a short explanation.

apologies for what im sure are stupid questions but the console closed itself before i had the wherewithall to exactly copy what was written.

@Avnsx Avnsx reopened this Oct 13, 2021
@Avnsx
Copy link
Owner

Avnsx commented Oct 13, 2021

the console was closing without giving me the opporunity to see what the problem was. i followed your advice and now it says something similar to: Erron (sic) when trying to download: [garbled filename with question marks] Please copy and paste this in github with a short explanation.

apologies for what im sure are stupid questions but the console closed itself before i had the wherewithall to exactly copy what was written.

Copy paste the error, showing the filename. I've a vague assumption that this error is caused by the filename having special characters, because special characters are not allowed as filenames in windows.

@alfratrople
Copy link
Author

alfratrople commented Oct 14, 2021

Creating download directories ...
Starting media download ...
Downloading media from page:
[Errno 22] Invalid argument: 'XXXXXXXXX_fansly/Pictures/80_????2.png'

ERROR: Please copy & paste this on GitHub > Issues & provide a short explanation; closing in 60 seconds.

i think you're right, due to the question marks in the latter half of the filename.

@Avnsx
Copy link
Owner

Avnsx commented Oct 14, 2021

Creating download directories ... Starting media download ... Downloading media from page: [Errno 22] Invalid argument: 'XXXXXXXXX_fansly/Pictures/80_????2.png'

ERROR: Please copy & paste this on GitHub > Issues & provide a short explanation; closing in 60 seconds.

i think you're right, due to the question marks in the latter half of the filename.

I've wrote code that would actually fix this bug, but I can't practically test it because I have not found any creator that had content with any unallowed characters in their name. If I would update the github source code, with my new update would you be able to launch it through python (to see if i was able to fix it for your creator) or are you using the executable version? Because it's much harder to get a executable version released, due to having to get it whitelisted with various security vendors. Else you'll need to name the creator you're encountering this bug with, so I can see if my update fixed it or not.

@alfratrople
Copy link
Author

id rather not name the creator, but i do have a friend whos job is programming so he can talk me running it through python etc and then ill try it out and get back to you in a few hours if thats okay.

@Avnsx
Copy link
Owner

Avnsx commented Oct 14, 2021

id rather not name the creator, but i do have a friend whos job is programming so he can talk me running it through python etc and then ill try it out and get back to you in a few hours if thats okay.

Sure thing, I've pushed the update just now with commit 5757731 Download the source code from GitHub and run it through python on your creator to see if the bug still occurs.

@alfratrople
Copy link
Author

okay, done. it worked as advertised. no complaints here. thank you for your prompt assistance.

@Avnsx
Copy link
Owner

Avnsx commented Oct 14, 2021

okay, done. it worked as advertised. no complaints here. thank you for your prompt assistance.

Would be happy about a star on the repo. Anyways have a great day

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants