E
E
Eugene2018-03-14 21:53:21
Wget
Eugene, 2018-03-14 21:53:21

Can wget download files from external links?

I use: wget --page-requisites -r -l 10 -k
js and css from the main site downloads, but links that lead to an external one do not download.
Can this be fixed somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
youngmysteriouslight, 2018-03-15
@eugeneledenev

wget --page-requisites -r -H -l 2 -k https://habrahabr.ru/company/ods/blog/350440/

I have pages loaded from other domains.
It is possible like this:
wget -p -r -H -D "habrahabr.ru,ru.wikipedia.org" -l 1 -k -e robots=off --random-wait https://habrahabr.ru/company/ods/blog/350440/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question