I am scraping data for many items via php curl, But for few items, the target website send "504 Gateway Time-out nginx" error, I have no problem with that, But the main problem is it halted the whole script, So script stops after this error and don't scrape next items,
I just wanna ignore(handle) that error, So that it doesn't halt the script.
This link can be helpful to understand the question https://serverfault.com/questions/882421/504-gateway-time-out-nginx-on-apache-server/882431
504 Gateway Time-out
The server didn't respond in time. – Jah Oct 09 '19 at 22:25