Answer the question
In order to leave comments, you need to log in
PHP. How to parse dns-shop?
Tell me where to dig
There is a self-written PHP parser that worked well until I met the site dns-shop.ru.
Let's say you need to pull the price from the page https://www.dns-shop.ru/product/3137885507d43330/i...
$htmlPage = file_get_contents('https://www.dns-shop.ru/product/3137885507d43330/igra--red-dead-redemption-2-ps4/?finalize=1');
Answer the question
In order to leave comments, you need to log in
And what prevents you from immediately pulling out the entire price list in your city?
https://www.dns-shop.ru/files/price/price-spb.zip
There is some problem here.
They have recently come under the protection of https://variti.com/ru-ru/.
Some JS is executed there and cookies are set to continue working with the site.
There was a topic, the author, get your ass off the chair and google it !!!
Well, in fact - a quick 40-second googling: https://yadi.sk/d/RvMR3C9qJSUgSg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question