GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc.

learn more… | top users | synonyms

1
vote
1answer
4k views

WGET downloading extremely slow

I am using the following command wget -r -np -k -p http://www.site.com/dir/ To download a small archive of files(there is a couple hundred files so I don't want to click download on each one and ...
0
votes
2answers
539 views

Can wget decode uri file names when downloading in batch?

Normally when downloading files using wget, the filenames are encoded. In example: wget -c --content-disposition "https://class.coursera.org/ml-005/lecture/download.mp4?lecture_id=1" and the saved ...
0
votes
1answer
242 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one http://...
0
votes
1answer
154 views

How to automatically save a list of files with different names?

I have a text file of URLs, each in the form of: http://domain.com/a/b/c/d.jpg I want to download all of these, but save each file under the name: c_d.jpg In other words, for each file, I want to ...
-1
votes
1answer
196 views

wget doesn't match patterns with wildcards

I'm trying to download certain url's which I would like to match with the next pattern using wildcards: http://example.org/subtitles?q=NUMBER_en&format=srt where NUMBER = [0-9]* the output of ...
0
votes
2answers
2k views

Using wget to get files from local to server to remote server

We have a local server where we carry out much of our web development and then we push this to a live environment so that clients can access. We often end up with huge tarballs (this one in ...
1
vote
1answer
109 views

How do I make wget match exact domain names?

I'm using the following command to mirror a site: wget -r -p -E -N -l 10 -k -nH -H -Dfoo.com,www.foo.com foo.com The problem I am having is that somewhere on foo.com there are links to domains ...
0
votes
0answers
129 views

How to download all images from a gallery

I'm searching for a way to download all images (not the thumbnails) of this gallery http://kinki.de/#/?gallery=list&gid=4804 . As I can see, the images are all located at http://kinki....
0
votes
0answers
620 views

How can I use Wget / Curl / Plowshare to download from 1fichier.com as a premium member?

How can I download files from 1fichier.com (I am a premium member) with the help of Wget / Curl / Plowshare (Plowdown) or other CLI / command line tool / script?
0
votes
1answer
97 views

Trace web redirection in bash script

I want to make a script to download the image at best resolution (not the preview image) from a deviantART link, as if I clicked the "Download" button. However, it seems that deviantART redirect the ...
0
votes
1answer
85 views

wget only saving first line of cookies

I want to download and save all the cookies from a particular web-page when using wget. However, wget is only saving the first line. I want the saved cookies from wget to be the same as the cookies I ...
-1
votes
1answer
86 views

Is there a way to read a simple one line asp page using a batch file?

I have a simple asp page in which i write an ip address, and nothing more. Now i need a batch file to read the contents of this page and pass it to a variable. I'm not good with batch files but ...
0
votes
1answer
596 views

WGET/cron downloading webcamera file

our new town doctor put a web camera to his waiting room for people to see how much crowded it is. As my mom and grandparents go to this doctor, I wanted to download the files periodically and if they ...
1
vote
1answer
183 views

What is the curl equivalent to wget -x?

I want to use curl to save multiple files with the same local paths as would be produced by wget -x (ie, cleaned up versions of the full urls). But I can't find the right option in the curl docs. Is ...
1
vote
1answer
2k views

Why I can't use wget command in SSH shell?

I have the following problem. I am using my RaspBerry (with RaspBian installed) by SSH. My problem is that I can't use wget command because it fails. For example if I try to execute the following ...
1
vote
0answers
126 views

Does aria2 support write small files in batch?

I'm using aria2 to download 8 million jpg from flickr. Each image is about 100KB. I got a list of urls of these images in a txt file, the format is: http://farm2.staticflickr.com/1070/...
2
votes
1answer
56 views

How can I get a notification if wget can not reach a site in x seconds?

How can I set a timeout for wget and get a notification the connection times out in 20 seconds? So far I've tried the following command wget --spider www.example.com
0
votes
1answer
123 views

How I can download PDFs of a website by using only the root domain name?

I am using this command: wget -nd -e robots=off --wait 0.25 -r -A.pdf http://yourWebsite.net/ but I can't get PDFs from the website. For example I have a root domain name: www.example.com and ...
0
votes
1answer
207 views

Downloading entire web pages within domain [duplicate]

My computer in on LAN. I'm connected to the local domain at MyDomain. Within that domain exists something like WIKI for a training (http://training-wiki/). I would like to download entire WIKI into my ...
3
votes
1answer
665 views

How to use wget to download images from messages on facebook?

This look a bit harder than usual. I'm a new user wget and i was thinking that maybe it's possible to somehow login into facebook and download only images from a specific conversation. I mean, i'd ...
1
vote
1answer
170 views

Ping works, other commands fail

I'm behind a proxy at work. When I try to ping google, it works. When I try to wget, I got stuck on the "Connecting to [proxy name]". I tried both via the "google.com" adress and via the IP adress I ...
1
vote
1answer
157 views

Firefox - Download files using external bash script

Is possible to issue external bash script when files are being downloaded in Firefox? My goal is high customization. E.g. scripting something that will save files to specified folder based on ...
1
vote
1answer
249 views

Wget - Difficulty Excluding Domains and Directories

I am using Wget in Windows 7. I believe this restricts me to Wget 1.11.4. For anyone interested in the details, I have posted a sample wgetrc file. This sample is actually the one I am currently ...
1
vote
0answers
140 views

wget put all prerequisites in flat subdirectory, but not root page?

I'm trying to get wget to save a page + prerequisites in a format resembling that of a web browser: article.html article_files/img.jpg article_files/script.js I am able to get almost this behavior, ...
0
votes
1answer
71 views

How to autostart wget to download files when internet connection gets up?

I am using Windows XP. i have created a batch file containing wget -i links.txt --read-timeout=2 -t 0 -w 0 --waitretry=0 -c --no-check-certificate -b and the file "links.txt" contains URLs pointing ...
1
vote
1answer
386 views

Mirroring a web site having pages that uses simple JavaScript [duplicate]

There are simple and great web site download tools that allow to create a local mirror of simple sites having no JavaScript infrastructure behind. However, sometimes there cases when a site looks ...
0
votes
0answers
42 views

Gzipped file arrives unzipped

I've recently set up an ArchLinux system at work and added the ArchHaskell repo. This is far from the first time I do this. I have a number of systems where it's worked just fine, but this last time ...
6
votes
1answer
6k views

How can I a download private repository from GitHub via when I have no access to ‘git’ on my local machine?

What I want to do is to download private repository archive from GitHub, extract it, remove archive file and copy some directories that are inside downloaded project. I tried to use wget but I cannot ...
3
votes
1answer
4k views

How can I force wget.exe to talk HTTP/1.1?

I'm talking about Windows, not Linux. I tried: wget -O X:/test/some/dir/file.txt --tries=3 -c http://some.com/dir/data.txt wget -O X:/test/some/dir/file.txt --tries=3 http://some.com/dir/data.txt ...
0
votes
0answers
1k views

Wget with input file says “No such file or directory”

I want to use Wget for Windows to retrieve some files on URL's which I have specified in a file called WgetInput.txt After reading the documentation I figured out the command I should use, which is: ...
3
votes
1answer
3k views

How can I encode an url for wget?

I am looking for a way to convert a string to a clean url. For example : wget http://myurl.com/toto/foo bar.jpg This is going to download http://myurl.com/toto/foo and http://bar.jpg. I want to ...
3
votes
1answer
1k views

How can I get a list of all messages in my gmail account in linux command line?

How can I get a list of all messages in my gmail account in linux command line? Ideally I would want to see something similar to: from:sender1@domain.com to:me@gmail.com Date:11/22/33 subj:Foo1 from:...
1
vote
0answers
137 views

MacOS Mavericks: wget getting stuck with local ip but not with localhost

I am facing a weird problem on my Macbook (Mavericks). I'm serving some files over http. When I try to get the files using wget: it works perfectly using localhost or 127.0.0.1 it starts but get ...
0
votes
0answers
255 views

Using Wget with JQL Query

We are trying to run a Wget command wget -O xyz.xls --user=COldPolar --password=GlacierICe --ignore-length=on "http://Colder.near.com:8080/sr/jira.issueviews:searchrequest-excel-current-fields/...
0
votes
4answers
766 views

Mirroring a wordpress website with wget

I'm trying to download a wordpress web-site, my blog actually, and to get the php files as well. So far I've tried - wget -rkp -l3 -np -nH --cut-dirs=1 http://www.sharons.org.uk/ wget -r http://www....
1
vote
2answers
2k views

wget error 400 CentOS

I have problem with calling wget command in CentOS 6.5. Im using following command: (I spaced the https, because of my user level on thi forum) wget --certificate=/root/o2key.pem https://...
0
votes
0answers
263 views

Pinging local machine with external IP

On a Gentoo server, I am trying to wget or curl a page from its url: wget http://example.com/test.html (I can get result for this url from my browser) All I receive is Timeout. With cUrl I get ...
0
votes
1answer
376 views

wget - difficult - How to download all links from a page including different path ones?

To make explanation easy and a bit entertaining let's imagine I want to download wikipedia pages of all the people mentioned here with one wget command, possibly with reasonable amount of other pages ...
0
votes
1answer
6k views

How to mirror ENTIRELY a website with wget [duplicate]

I really need the command to download everything from a website. It is arnos.gr and has a lot of content on it which I want to browse locally without Internet I have an account for login
0
votes
0answers
22 views

Can One Extract a Hyphenated Filename File From a Server Using Curl?

The images I'm dealing with have file names like part-1.jpg, object-a.jpg, Aspect-0.jpg. What I'm wondering is what I put in place of ???: curl -O http://server/[???].jpg
4
votes
1answer
3k views

How to crawl using wget to download ONLY HTML files (ignore images, css, js)

Essentially, I want to crawl an entire site with Wget, but I need it to NEVER download other assets (e.g. imagery, CSS, JS, etc.). I only want the HTML files. Google searches are completely useless. ...
0
votes
1answer
52 views

Use tmux for managing multiple downloaders as a supervisorctl service?

I have many data-servers I need to download data from via http as soon as it is available. For each server I start a bash "while true"-loop and within that a wget to poll the server for new data. To ...
1
vote
1answer
273 views

How can I manage a tmux session using supervisord?

I want do mirror the data of some 15 different servers that aperiodically but continuously provide files that I need. For this, I created a tmux conf that opens 15 tmux-windows with shells that run ...
1
vote
2answers
5k views

Where should I put libintl3.dll to make wget work

I've downloaded wget binary for windows. I placed it in System32 folder. When I try to run the command, an error pops up: The program can't start because libintl3.dll is missing from your computer....
1
vote
1answer
245 views

Using wget to download css with get params

I'm trying to mirror a site but the css linked has the url: http://127.0.0.1:2368/assets/css/screen.css?v=c44dc08367 Using wget to download the site saves the css file with the filename screen.css?v=...
0
votes
1answer
47 views

Mirror server and ignore already-processed files

Before I start writing my own app for this, maybe there is already a better solution for the problem: I need to check an HTTP Server every day for new files to download and process. Basically these ...
-2
votes
1answer
173 views

Download files in bulk, but confirm each download

I wish to download all pictures from an album. The album is an HTML page hosted on the Internet, which has both links to some other stuff in the site and thumbnails, which link to the image viewing ...
2
votes
1answer
205 views

wget download from mirror download links

I'm trying to download using wget a tar.gz. The file is redirected based on the url parameters, so all downloads are redirected automatically. for example: wget http://git.cross-lfs.org/?p=...
0
votes
1answer
181 views

Give Wget priority for my internet bandwidth

Is there any way for me to configure something so that no matter what other apps and machines are using my internet bandwidth, Wget will always get first priority? (So that even if I'm streaming lots ...
-1
votes
1answer
794 views

Iptables: allow wget

for some reason the following rules block wget. iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --...