user3598620
user3598620

Reputation: 11

How to download specific parts of website with wget?

I want to download only the css reference part from w3schools.com. The command string below downloads the entire site. How can i achieve what i want?

wget --mirror -p --convert-links -P /home/username/Desktop/ http://www.w3schools.com/cssref/

Upvotes: 0

Views: 1794

Answers (1)

Georgy Blagodatov
Georgy Blagodatov

Reputation: 11

Add --no-parent argument. All command:

$ wget --convert-links --no-parent https://www.w3schools.com/cssref/

It works.

Upvotes: 1

Related Questions