Tom: wget lädt scheinabr keine externen Bilder

Beitrag lesen

Hello,

probier mal

wget -r -l 2 -k -p http://web.de/

Danke für die schnelle Antwort, aber auch bei deinen Beispiel speichert er keine Bilder ab.

Das sollte aber so funktionieren.

Hast Du mal kontrolliert, ob die Bilder ggf. per Redirect geladen werden?
Nimm Dir mal eins und lass es dirket per Adressleiste laden.
Schau Dir die Life-HTTP-Header an.

Sonst eventuell statt "-l 2" ein "-l 3" nehmen:

-p
       --page-requisites
           This option causes Wget to download all the files that are necessary to properly display a given HTML page.  This includes such things as inlined images, sounds,
           and referenced stylesheets.

Ordinarily, when downloading a single HTML page, any requisite documents that may be needed to display it properly are not downloaded.  Using -r together with -l
           can help, but since Wget does not ordinarily distinguish between external and inlined documents, one is generally left with ``leaf documents'' that are missing
           their requisites.

For instance, say document 1.html contains an "<IMG>" tag referencing 1.gif and an "<A>" tag pointing to external document 2.html.  Say that 2.html is similar but
           that its image is 2.gif and it links to 3.html.  Say this continues up to some arbitrarily high number.

Tom vom Berg

--
Nur selber lernen macht schlau
http://bergpost.annerschbarrich.de