Linux system using the wget command to download the entire station as a mirror site

Source: Internet
Author: User

Linux system using the wget command to download the entire station as a mirror site

2011-05-28 18:13:01 | 1 Reads | comments:0 Article | itokit

Under Linux, the complete command to use the wget command to capture the site as a mirror is to ignore the robots.txt restrictions in the root directory of the website. and can simulate a normal browser information to download the site.

C + + Code copy content to clipboard
    1. Wget-m-E robots=off-u "mozilla/5.0 (Windows; U Windows NT 5.1; ZH-CN; rv:1.9.1.6) gecko/20091201 firefox/3.5.6 " " http://www.example.com/"


wget Command Parameter comments:

C + + Code copy content to clipboard
    1. "-E Robots=off" let wget bullying ignore robots.txt protocol
    2. -U "mozilla/5.0 (Windows; U Windows NT 5.1; ZH-CN; rv:1.9.1.6) gecko/20091201 firefox/3.5.6 "Forged agent information

Linux system using the wget command to download the entire station as a mirror site

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.