Web Scraping / Script that gets src image address.

Avatar image for th3watch3r
th3watch3r

3

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

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
th3watch3r

3

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

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
MVHVTMV

460

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

@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
haxigi

1

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0