B
B
bigfootua2018-02-03 16:22:19
PHP
bigfootua, 2018-02-03 16:22:19

How to download images from a site with a script?

For example, there is such a page:
LINK
It is necessary to download all the photos for all types of fabrics.
If you download in bulk, then photos are downloaded only for one fabric.
And preferably immediately a pack, how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-02-03
@bigfootua

First you need to understand how the image path is obtained:
https://www.pufetto.com.ua/items/salerno/g/7/g.sal...
7 - number 1...7
salerno - model
g - some model view
hexd7c4b7 - fabric id fabric
id can be torn out - from

<li class="fabric"><span id="warlock-05" data-img="hexd7c4b7" data-now="1" data-group="20" class="frchoose" data-title="Тканина Warlock Кунжут (warlock-05)">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question