T
T
T_y_l_e_r2017-02-12 17:46:36
PHP
T_y_l_e_r, 2017-02-12 17:46:36

Is there an analogue of wget in php for downloading sites?

We need an analogue of wget.
The wiki has a great example for downloading a whole site.

wget -r -l 10 -k -o log-file.txt -p https://toster.ru/

I recently learned about this thing and was very surprised how accurately and clearly it pumps out all the styles and pictures, unlike a teleporter and a webcopper.
But unfortunately, he does not know how to download content on sites where authorization is required.
Is there a script in php or other languages ​​that can download sites as clearly as wget?
Before pumping, you need to fasten the authorization to download from the user.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2017-02-12
@T_y_l_e_r

well, if wget, then many more discoveries await you

O
ommunist, 2017-02-12
@ommunist

If we are talking about a php scraper, then check out Goutte

A
Alexander, 2017-02-13
@Mr_Saxa

exec('wget...');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question