Home

OFF-SOFT.net

OFF-SOFT.net

This site is support & information site of WEB,and Software. This site might help you that create software or Web Site…perhaps?[:]

How to download all files of any web site with Wget.

Published on| July 11th, 2009 | No Comment.
Various Uses
To download an entire site, an example of the command to create a mirror disk
%解凍したディレクトリ%\bin>  wget -m http://www.example.com/

Now, in the current directory www.example.com directory is created, all files will be downloaded there.

jpg download an entire site with the file extension only, example of the command to create a mirror disk
%解凍したディレクトリ%\bin>  wget -m -A.jpg http://www.example.com/ 

-A "*.jpg"'
Behaves the same. Also, ". Gif" if you include the file, continue with commas.
-A .jpg,.gif
I like.
Here, you can use regular expressions.
-A "200[0-9].jpg"
I like.
When you do this, 2000.jpg ~ 2009.jpg 10 in the name of each file, and download everything that exists.

Is-R,-A in reverse, do not download the file specified.

An example to download all the files that are related to the page
%解凍したディレクトリ%\bin>  wget -p -k http://www.example.com/page1.html 

page1.html and image files that require the CSS file, and download all the audio files.
-K, so that even if you specify a page on the local disk (offline) to change the link so you can refer to.

Examples of output to a log file for download
%解凍したディレクトリ%\bin>  wget -m http://www.example.com/ -o exec.log

exec.log, usually outputs the information in the output screen.

An example of the output status of the download to stop any
%解凍したディレクトリ%\bin>  wget -m http://www.example.com/ -q

Typically, the information in the output screen, all will not be output.

In addition to these, and proxy settings.
For more information, please see the following pages.
http://www.gnu.org/software/wget/manual/wget.html

So, In closing, GUI version of Let's VisualWget use.

Try VisualWget
Download from the destination, and download.
As also described earlier, this, C # (2008) it has been developed by your environment, ZIP and may only good file,The environment of .NET might be necessary.
See the description below (please see the Overview section), please install.

If you can not judge , first, from the first download, download the installer file, and then try to install.
If work is above. NET Please download and install the Microsoft environment.

This is, C # (2008) it has been developed,. Net may require the latest.
The authors environment, C # (2008) it contains, ZIP extraction was the only work, not in such environment, run the installation from the installer, if you do not work, below. net please try to download. (In most cases, trying to download something, but you need automatically. )

First, run the installation VisualWget.exe.


It has been like this in English, then switch to the Japanese.
Click the button to the right of the toolbar. Screen "Language" to "Japanese", "OK" to switch to Japanese and click the button.




Usage is simple, "new job" ([file] - [New jobs] ) Specify the sites to download now.
The following screen appears.
Left is a basic parameter. Designated sites, and the output file you downloaded.
The right, Wget you can set to screen a set of detailed parameters. (It is better if I have the parameter displayed in the Japanese category. )


"OK" in the immediate run.

"OK" If you do not want to be spontaneous, if you want to run at a later time, "OK" button on the left "OK-click the Start Jobs" check.
If you want to do it later, should be added to the list of job-center of the screen to display the same screen and double-click the screen above.
Now, "OK-click the Start Jobs" You can not check that box, "OK" in the immediate run.

Wget if you understand the meaning of the parameters, the GUI is easy, if not, other than the simple use the "Advanced" tab screen will be low.
But rather than go on the command line, I think many people feel comfortable in, it will be easy to store configuration information files, this is it, I could.

Also, here, wgetrc does not touch on it and can specify the parameters of the proxy.
For more information, please refer to the manual.
http://www.gnu.org/software/wget/manual/wget.html

Comments

Leave a Reply







  • はてなブックマークへ追加する
  • Facebookでシェアする
  • twitter でつぶやく
  • Google Plusでシェアする
  • Pocketでシェアする
ページトップへ