Questions tagged [wget]

GNU Wget (or just wget) is a command line-based program for downloading content from the Internet using HTTP, HTTPS and FTP.

GNU Wget is a command-line program that can be invoked from the command-line using wget. It several different options available from the command-line, (including -c, -O, --output-document=, -t, --tries=, etc.) to see a list of them all run wget -h from the command-line.

External links

500 questions
285
votes
6 answers

How do I provide a username and password to wget?

I've tried to connect to a server via wget: wget http://:@serveradress But wget responds: invalid port I know that the server accepts incoming traffic at port 80. How can I fix this issue?
pschmidt
  • 3,819
163
votes
8 answers

Download files from a list

How can I download files (that are listed in a text file) using wget or some other automatic way? Sample file list: www.example.com/1.pdf www.example.com/2.pdf www.example.com/3.pdf
Sourav
  • 2,305
56
votes
3 answers

Force wget to use actual filename

When using wget in a script to download some files from Google Docs, the name of the file is not preserved. For example: wget 'http://spreadsheets.google.com/pub?key=pyj6tScZqmEfbZyl0qjbiRQ&output=xls' saves the file as…
47
votes
4 answers

How to get WGET to download exact same web page html as browser

Using a web browser (IE or Chrome) I can save a web page (.html) with Ctl-S, inspect it with any text editor, and see data in a table format. One of those numbers I want to extract, but for many, many web pages, too many to do manually. So I'd like…
user239598
  • 471
  • 1
  • 4
  • 4
16
votes
1 answer

how to make wget retry download if speed goes below certain threshold?

I'm trying to download a large 2GB file with wget, but after a few minutes it seems to keep stalling. I ^C it, and wget it again [with --continue option], and it starts downloading again. Is there a way to automate retrying the download when it…
Matt
  • 9,993
14
votes
2 answers

what does wget -qO- 127.0.0.1 mean?

I have tried googling for an answer for an hour now and still no luck. Does anyone know what this command mean? wget -qO- 127.0.0.1 I know wget is the Linux "web get" utility, and 127.0.0.1 is localhost. I have no idea however what the -qO- mean? I…
Atlas7
  • 293
13
votes
5 answers

wget and encoded URL

I have a URL like this: http://dl.minitoons.ir/longs/Khumba (2013) [EN] [BR-Rip 720p] - [www.minitoons.ir].rar I want to download this URL using wget. If I pass it directly to wget, everything goes well. But I am in a situation that I have only the…
melmi
  • 365
11
votes
3 answers

Getting 'permission denied error' with Wget

I installed the LAMP stack on my Ubuntu 11.04 (Natty Narwhal) with sudo apt-get install lamp-server^ Now I navigate to /var/www and use wget http://ftp.drupal.org/files/projects/drupal-7.x-dev.tar.gz I get the following error. --2011-08-03…
Nikhil
  • 1,185
9
votes
2 answers

How to get link of file to download with wget

I am using Ubuntu 19.10. For automation purposes, I need to download this file with a script. But I am not able to get the link. How can I achieve this?
PRATAP
  • 22,460
8
votes
2 answers

Wget a series of files in order

How do you download a series of files with wget like so: http://www.example.com/index.php?file=1 http://www.example.com/index.php?file=2 http://www.example.com/index.php?file=3 ... http://www.example.com/index.php?file=500
Stall
  • 183
7
votes
1 answer

How can I get wget to preserve sub-directory structure while ignoring parent directories?

Suppose the directory http://www.example.com/content/media/images/vacation_photos contains links to a number of sub-directories: /sweden /egypt /canada each of which contains a bunch of JPEGs, and I want to download them all to my local…
Jack M
  • 1,310
  • 2
  • 16
  • 32
7
votes
0 answers

How do I use wget to download YouTube videos?

I have Ubuntu 12.04 LTS and I just found out about the wget command and was wondering if there was a way to download YouTube videos using wget?
Jatttt
  • 2,327
  • 12
  • 32
  • 43
6
votes
3 answers

Unable to use wget command

I am using Ubuntu 13.10 with proxy servers, which require an User ID and password. I am unable to run the wget command. It returns: Resolving sourceforge.net (sourceforge.net)... failed: Name or service not known. wget: unable to resolve host…
user251746
  • 61
  • 1
  • 1
  • 3
6
votes
2 answers

how to use wget to download videos?

I want to download videos from this link http://nptel.iitm.ac.in/video.php?subjectId=106102064 I don't know how to use wget to download the videos from this site. Please help me. Thanks.
REGZEN
  • 133
5
votes
4 answers

Downloading Dreamspark MS Windows on Ubuntu

i have been trying to download windows xp, from the dreamspark website. unfortunately a secure download manager(SDM) is used to download the iso image. SDM will only run on windows. how do i remedy this situation.
CelfInfinite
  • 51
  • 1
  • 4
1
2 3 4 5