Closed malebuffy closed 1 year ago
From what I gather from those error messages, it seems that serialising resources (in this case the handle returned by curl_init()
) now throws an exception whereas in older version(s) of PHP - the ones I developed FUPS with - it didn't.
Without testing, it seems that a solution could be to move this line:
to just before (or after - doesn't really matter) this line:
And to add after it this line:
$this->ch = null;
If that doesn't work, then please let me know, otherwise I'll commit it as the fix.
Also, if you'd like more of a backgrounder on this ("chaining"), then just let me know and I'll oblige.
This worked! Thanks
Any idea why I get this error while it is scraping? For this instance it is at post 177 from 190, so don't really know why it worked for the first 177 posts. Second try stopped at 153 post.