-
Notifications
You must be signed in to change notification settings - Fork 18
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
Not downloading images #2
Comments
Sometimes I have a bit more luck and instead get an error message like this
I am yet to get it working |
Hey Alexander,
It's really strange. Looks like image is not loaded. I will try to fix it
soon. Probably we need one more IF statement if images >0
sob., 16 lut 2019, 20:15 użytkownik Alexander Galea <
[email protected]> napisał:
… I cannot get the script working. Here's the output I get:
=====================================
=== Google Arts & Culture crawler ===
=====================================
Provide image URL
sample url: https://artsandculture.google.com/asset/madame-moitessier/hQFUe-elM1npbw
> URL: https://artsandculture.google.com/asset/madame-moitessier/hQFUe-elM1npbw
=====================================
Provide image maximum SIZE
sample size: 12000 (recommended)
> SIZE: 12000
=====================================
> Opening website
> Downloading partial images..
> Downloaded 0 partial images
> Saving partial images as final image
FAILED
integer division or modulo by zero
As you can see, no images are downloaded. Looking at the chromedriver
window I don't see any images on the screen, is that expected or not?
What version of chromedriver are you using and can you confirm this script
still works for you?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AKFabeuc76qjSjh3xmD-yuUj_F3E50wrks5vOFjIgaJpZM4a_JKG>
.
|
'cannot identify error' sometimes occurs in slow networks. Will take a closer look at it. |
Thanks for taking a look. When I get the "cannot identify image" error, I opened the blob file e.g.
Seems that some of the blobs are not loading properly |
I got it working today :) Maybe the issue above was due to slow network (either me or the google arts servers). |
Yep it looks like network speed is broking blobs. We can't really check if image was loaded, as it's really hard to parse. I guess the only option is adding exception - and retry downloading. Thank you for your contribution. |
I cannot get the script working. Here's the output I get:
As you can see, no images are downloaded. Looking at the chromedriver window I don't see any images on the screen, is that expected or not?
What version of chromedriver are you using and can you confirm this script still works for you?
The text was updated successfully, but these errors were encountered: