learning_brain
New Member
- Messages
- 206
- Reaction score
- 1
- Points
- 0
This is an interesting one.
I have an image crawler (external sites) that gets image size no problem, but filesize is proving tricky.
I'm getting errors with both filesize() and stat() - presumably because I'm not reading from a local directory.
I have two crawl systems - one for images directly (simple) and one for images embedded within html based pages (CURL/DOM method)
My crawl bot is now a bit slow due to calls for getimagesize() and the CURL isn't too fast either, so I don't really want to slow it down further.
Any ideas?
I have an image crawler (external sites) that gets image size no problem, but filesize is proving tricky.
I'm getting errors with both filesize() and stat() - presumably because I'm not reading from a local directory.
I have two crawl systems - one for images directly (simple) and one for images embedded within html based pages (CURL/DOM method)
My crawl bot is now a bit slow due to calls for getimagesize() and the CURL isn't too fast either, so I don't really want to slow it down further.
Any ideas?