Wget Whole station crawl, website crawl function

Source: Internet
Author: User

Wget-r-p-np-k-e http://www.xxx.com Crawl entire station

Wget-l 1-p-np-k http://www.xxx.com crawl First level

-R recursive Fetch
-K crawl after fixup link, suitable for local browsing

Http://blog.sina.com.cn/s/blog_669fb0c3010137bq.html

Wget-m-E robots=off-k-E "http://www.abc.net/"
You can download the entire station to the local current working directory to generate an accessible, complete image.


Explain:

-m//image is the whole station crawl
-e Robots=off//Ignore Robots protocol, force, rogue crawl
-K//Convert an absolute URL link to a local relative URL
-E//Save all text/html documents with an. html extension

https://futurestack.cn/cookbook/devops/wgetsite/

Wget Whole station crawl, website crawl function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.