0

I tried

wget -pk http://www.bbc.com/news/

to download this news site and store a local copy.

-p is used to save all the files in order to view the website locally. -k converts the links so that they should point to the local file.

But when I open the local html file of that website, and I do a right click on the displayed images... the image file on www.bbc.com is opened.

How can I solve this?

2 Answers 2

0

the coorect command is wget -r -k -np http://bbc.com/news

  1. r for recursive
  2. k for convert link after download
  3. np for no parent
-2

You need to add few options to -p, use this command :

wget -E -H -k -K -p http://bbc.com/news
2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .