wget - command-line utility to download content non-interactively.

learn more… | top users | synonyms

0
votes
0answers
17 views

Get similar links from one site using wget [on hold]

I have a site (http://a-site.com) with many links like that. How can I use wget to crawl and grep all similar links to a file? <a href="/user/333333/follow_user" class="btn" ...
0
votes
1answer
18 views

Configure wget to ignore a specified domain, or treat it differently?

I'm using wget to mirror an old website with all of its --page-requisites. Unfortunately, one of the domains which used to serve some of these requisites - is now offline. Every time wget tries to get ...
1
vote
1answer
27 views

How do I put a time stamp with: wget --output-file=[FILENAME] [URL]

So I've been trying to put a timestamp on some images I'm downloading from a webcam, but so far it's been saving the images with the names camera3_date' here's my line that I enter: wget ...
0
votes
0answers
35 views

wget stops downloading: Cannot write to `-' (success)

Please have in mind that I don't know anything about this, nor any of its vocabulary, I am a simple web coder, trying to figure my way on the universe! I'm trying to link dropbox on my server, I am ...
0
votes
0answers
10 views

wget mirror site with images stored on other different domains [duplicate]

I'm trying to wget mirror of site atompunk: # wget -l 2 -c -m "http://atompunk.tumblr.com" For me, it take only index. I'm interesting in pictures which is stored on the other domains... How? ...
3
votes
0answers
79 views

Bash Script - Wget Graphical Download Progress

I'm trying to port this code from wget + zenity to wget + kdialog. The code with zenity: #!/bin/bash # Start wget | zenity # Note the & at the end of the pipe, this allows the script to continue ...
0
votes
1answer
29 views

wget: 401 Unauthorized

I want to download an entire website that is protected by NTLM but it fails with: HTTP-Anforderung gesendet, warte auf Antwort... 401 Unauthorized Unbekanntes Authentifizierungsschema. ...
1
vote
1answer
154 views

wget is unable to resolve host address 80% of the time

I have a wget 'http://xxxx.net/somepage.asp?params@abc' in a bash file. When I run it, four out of five times it says: Resolving xxxx.net (xxxx.net)... failed: No address associated with hostname. ...
1
vote
3answers
96 views

Constructing URLs with a list of words and downloading from the URLs with command line

Suppose I have a list of words in a text file e.g: abstinence ; abuse ; academic ; accommodate ; accommodation ; accommodationist ; accomplice ; accomplish ; accord ; account ; accountable ; ...
1
vote
1answer
23 views

wget doesn't convert URLs properly when --convert-links is specified

According to the man pages, when I specify --convert-links to wget: After the download is complete, convert the links in the document to make them suitable for local viewing [...] Note that only ...
1
vote
2answers
2k views

wget to get all the files in a directory only returns index.html

I'm new to using bash, and I have been trying to wget all the files from a website to the server I have been working on. However all I'm getting back is an index.html file. I let it run for 15 minutes ...
1
vote
2answers
35 views

Download all pages linked on a page in a certain region

I would like to download my users activity page of this Unix&Linux with wget and all pages that are linked in the activity list. I tried wget -m -l 2 which should mirror the site recursively ...
3
votes
4answers
156 views

Possible to download these webpages as a book?

I would like to download a SQL tutorial here http://www.w3schools.com/sql/default.asp, as a book with all linked SQL related sections. Here is my command wget -r -np -nH -p -k ...
0
votes
1answer
23 views

Mirror list of files

I've a list of URLs: https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.0/angular.min.js https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.2/js/bootstrap-select.min.css ...
-2
votes
1answer
58 views

Resume failed download using Linux command line tool

How to resume partially downloaded file using linux commandline tool. I downloaded large file partially i.e. 400MB out of 900MB due to power interruption, but when I start downloading again it ...
3
votes
2answers
6k views

Can't wget from github, sslv3 handshake error

We have a script that downloads mod security from github that has recently started failing. The servers run CentOS 6 but RHEL 6 probably has the same issue. The output is: # wget ...
3
votes
2answers
950 views

How to make wget download recursive combining --accept with --exclude-directories?

I'm trying to download some directories from an Apache server, but I need to ignore some directories that have huge files I don't care about The dir structure in the server is somewhat like this ...
3
votes
2answers
6k views

“Short write” error message with wget

I got the following error when trying to pull down a 300 MB ISO. It appears to pull down 25 MB then stop. Any idea what's going on here? ~ # wget ...
1
vote
1answer
57 views

Wget crawling without download file

I am just trying to count how many URLs match with the pattern x--*.html. In this case below all files that match are being downloaded. $ wget --random-wait --mirror --no-parent -A x--*.html ...
3
votes
4answers
4k views

How to download a folder from google drive using terminal?

I want to download a folder from my google drive using terminal? Is there any way to do that? I tried this: ‍ wget ...
0
votes
1answer
68 views

List of links to images in website with wget

I have a question, as much as I think I cannot think of the way to put all links of pictures in a list, I asked this question before but it was marked as duplicate to post where OP asked to download ...
0
votes
3answers
145 views

wget downloading tar.gz file as html?

I need to download this file http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz using wget. I use the command wget ...
0
votes
1answer
16 views

allpackages.txt.gz has two different file-sizes?

I saw http://linux.koolsolutions.com/2008/12/19/counting-number-of-packages-under-debian-linux/ and I wanted to count the number of packages in testing. I tried as shared therein :- ...
0
votes
2answers
63 views

Get the file list in an HTML directory listing

I can get all files on the bash patches site by downloading them in a sequence: SEQ=$(seq -f "%03g" 1 30) for i in $SEQ; do wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i; done But ...
2
votes
0answers
61 views

Why can't I transfer a file via wget (FTP) using exec() function in PHP?

Put simply, I can't work out why the code below won't carry out a file transfer? I have been assured by the sysadmin staff on the remote server that there are no permissions/firewall issues that could ...
1
vote
0answers
38 views

How to abort wget after getting N times file not found?

I try to grab pictures from few galleries of some site. I do not know how many files are there, but I know the files are continuous named. So I use a regex like that: wget ...
1
vote
2answers
54 views

Can i capture and send GET requests with wget?

So, right now i am using Charles to do this and it works fine. But can i use wget to capture and send GET requests? I want to use wget and the command line because of the scriptability and ...
0
votes
1answer
64 views

curl wget - 403 Forbidden

I am trying to download a site as you see bellow with curl or wget but either one seems to work. I tried different options like "curl -k" seemed promising, but did not work. Every one is allowed to ...
3
votes
2answers
938 views

Convert links of downloaded website

I downloaded a website using: wget -c --mirror -p http://www.somewebsite.com for offline viewing and I just remembered that I forgot the --convert-links option! They are all on my hard drive right ...
0
votes
2answers
106 views

After downloading an .asp or .php file, can it be converted to a .html file? [closed]

I wonder if downloading files via wget and having them named .asp or .php means that I download the webpage? Aren't these executable files? If so, after downloading an .asp or .php file, can it be ...
2
votes
3answers
75 views

Count of several keywords on a site

I currently have the following command wget -O - -q http_url_goes_here | grep -Eci '(cart|shop|buy|order|store|shipping|products|price)' It gives me a count of ALL occurences of each of the ...
7
votes
3answers
4k views

How can I limit downloaded file size in wget?

I want to use wget (from a php script) to download image files, but don't want to download files over a certain size. Can I limit file size with wget? If not, what is a better way?
2
votes
3answers
79 views

How can I use wget to create a list of URLs from an index.html?

So wget has an ability to recursively download files, however it does it one file at a time. I would like to pass in a directory URL, and for each URL it encounters in the recursion for it to spawn ...
3
votes
1answer
421 views

Download only recently modified files with wget over FTP

When fetching recursively with wget from an FTP server, how can I download only files modified after a given date? The use case is that I need to sync with several servers nightly, but I only need ...
9
votes
1answer
13k views

How to wget a file to a remote machine over SSH?

I'd like to basically pipe a wget command to a file on a remote server over SSH. How can I do this? I know I could simply ssh into the server and have it download the file, but I'd much rather use the ...
0
votes
0answers
87 views

wget: Retrieving a list of URLs when modifying input data file on the fly

This issue is currently driving me up the wall. It just does not work as it should. I have a file inp with audio samples to download where I preserved the internal ID number by parsing some other ...
20
votes
4answers
10k views

Throttle the download speed of wget or curl while downloading

Is it possible to throttle (limit) the download speed of wget or curl ? Is it possible to change the throttle value while it is downloading ?
0
votes
2answers
146 views

wget download using list of urls

I'm trying to download several files with wget. The relevant URLs are stored in the file url.txt. When using the command wget --content-disposition -i url.txt it doesn't find the .txt file. Where do ...
2
votes
1answer
330 views

Resume mirroring via wget

I want to mirror all files for example KDEs to local directory. I used $ wget -m -P ./kde http://alien.slackbook.org/ktown/current/4.12.1/x86_64/kde/ But after a while it broke. To continue I ...
6
votes
2answers
2k views

How to download an archive and extract it without saving the archive to disk?

I'd like to download, and extract an archive under a given directory. Here is how I've been doing it so far: wget http://downloads.mysql.com/source/dbt2-0.37.50.3.tar.gz tar zxf dbt2-0.37.50.3.tar.gz ...
2
votes
2answers
564 views

How to optimize wget download script

Site contents <html> <body> <a href="http://www.sagar.com/" title="sagar">Sagar</a> <a href="http://www.sagarcom/1/" title="sagar1">Sagar Link1</a> ...
18
votes
1answer
791 views

What is the meaning of “+” in wget progress bar?

I'm downloading with wget using a slow link. Sometimes the progress bar looks like this: 15% [+++++++++++++++===> ] 10,582,848 --.-K/s in 82s What is the meanig of "+"?
4
votes
3answers
16k views

Set a network range in the no_proxy environment variable

I'm in a network using a proxy. I've got machines using lots of scripts here and there accessing each other over HTTP. The network is 10.0.0.0/8. My proxy is 10.1.1.1:81, so I set it up accordingly: ...
39
votes
3answers
10k views

What is the difference between curl and wget?

I am keen to know the difference between curl and wget. Both are used to get files and documents but what the key difference between them. Why are there two different programs?
1
vote
4answers
1k views

Write output of wget or curl to a custom filename based on the url

For example I have a link http://www.abc.com/123/def/ghi/jkl.mno. I want to download it using wget or curl and get the name of output file as def_ghi_jkl.mno, where the part def_ghi is taken from the ...
1
vote
1answer
96 views

wget internal buffer size

I'm constantly using wget to download many files over 1GB each. I'm getting concerned about how this may be straining my HDD. Can wget's internal buffer size be modified so that it writes to my HDD ...
4
votes
6answers
708 views

Save multiple URL targets to text files

I have a list of URLs and I want to save each of their targets in a separate text file. Here's an example of the input file containing the URLs: ~$: head -3 url.txt ...
0
votes
0answers
49 views

Wget rename .listing

I'm running multiple instances of wget from the same directory (and connected to the same ftp). wget stores the locations of files on the server in a .listing file. I've noticed that many of my files ...
0
votes
1answer
20 views

wget rotated backup problem

I'm calling wget 1.11.4 as follows $ wget -nd -S -N --backups=4 -r --no-parent --reject="index.html*" -e robots=off <url> to repeatedly download all files from a server. My problem is, ...
2
votes
2answers
3k views

Running thousands of curl background processes in parallel in bash script

I am running thounsand of curl background processes in parallel in the following bash script START=$(date +%s) for i in {1..100000} do curl -s "http://some_url_here/"$i > $i.txt& ...