Avatar image for th3watch3r
#1 Posted by th3watch3r (3 posts) -

I had php script that use simple dom php, to extract product image from gearbest product links.

so the work was simple, i paste bulk links and get products image adress, but since 2 days it does not work.

No Caption Provided

index of script:

https://pastebin.com/N8WNU5kN

Could you help me somehow with finding the problem?

Avatar image for th3watch3r
#2 Posted by th3watch3r (3 posts) -

when i run it on xampp, i get

<b>Warning</b>: file_get_contents(https://www.gearbest.com/smart-watches/pp_1069761.html?wid=1433363): failed to open stream: HTTP request failed! in <b>C:\xampp\htdocs\imgscr\simple_html_dom.php</b> on line <b>75</b><br />

Avatar image for mvhvtmv
#3 Posted by MVHVTMV (443 posts) -

@th3watch3r: Sorry, you're definitely on the wrong website my dude. This forum is specially for the Giant Bomb API, not just API development in general. You should try asking at Stack Overflow if you haven't already.

Avatar image for haxigi
#4 Posted by haxigi (1 posts) -