Wget (rc) and flashgot - memo
Set up at work today wget as a boot in the firefox (with plugin flashgot). Now, with file hosting rocks, and gives the names of downloaded files are normal, and not from the name of the link. Not to forget in the future, you are coming from and if necessary, have easy access to a description of the process - keep a memo here.
Actually the file wgetrc (probably took a lot of the good old manual I no longer remember):
Call # wget. Special cases (eg the creation of a mirror
# Copies of the site) are described as functions of the shell in. Bashrc
# All options can be transferred directly when calling wget in the form of
# "Long" keys (for example - continue = on)
# Resume file (similar to option "-c").
continue = on
# Enable / disable running in the background.
# Same as "-b", which includes it.
# Background = on / off
# Specifies the name of the file, like "-o".
# Logfile = / var / log / wget.log
# Pay attention to whether the / robots.txt (off - do not pay).
robots = off
# Print or not the HTTP and FTP server responses, like "-S".
server_response = on
# Wait N seconds between requests. Same as "-w".
wait = 3
# Set the number of times a URL. Same as "-t"
tries = inf
# Specifies the number of bytes "contained" in the points, which are displayed
# Unload (default 1024). You may end up meaning
# Suffix "k" or "m" for kilobytes and megabytes, respectively.
# If a setting you can adjust the points on your map
# Needs or can use the predefined styles
# (See option "- dot-style").
# Dots_in_line = N
# Specifies the number of dots displayed on a single line
# During unloading (default 50).
dot_bytes = 100
# Specifies the number of points in a single cluster (10 by default).
# Dot_spacing = N
# Defines the style of presentation unloading
# The same option "- dot-style".
# Dot_style = STRING
# Create the directory structure. Same as "-x" (on)
# And "-nd" (off), respectively.
# Dirstruct = on
# Enable / disable the detailed report. Same as "-v" / "-nv".
verbose = on
# Impersonating a browser that smart-ass against all sites
# Do not give the download a third-party program.
# Copied from the browser ("Help-About Firefox")
"Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.0.14) Gecko/2009090216 Firefox/3.0.14" user - agent = "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv: 1.9.0.14) Gecko/2009090216 Firefox/3.0.14"
What a line call wget, prescribed in the settings flashgot, in fact, an online guide to it, and it is also cited as an example:
[- Load-cookies = CFILE] [- header = Cookie: COOKIE] [- input-file = UFILE]
For gnome-terminal is convenient to specify the parameters of the call-hide-menubar (not shown in the window created with the menu bar)-t Wget (it is the future of the window)-x wget (calling application).
For windows, respectively, when calling cmd.exe (this shell windows) need to pass parameters / C start wget.
I think that some of the other configuration files representing the interest to me, too, then keep a blog in the future.
More on similar topics:
Filed under: Linux , Internet |
Tags: . rc , How-to , linux , wget |
No Comments 

Recent Comments