-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Mishari, please keep your responses on-list, so you have the benefit of the rest of the wget community fixing my misunderstandings. :)
Also, it's preferable to post your responses below any quoted material, to make it easier to follow the conversation history; I've adjusted accordingly. Mishari Al-Mishari wrote: > On 6/27/07, Micah Cowan <[EMAIL PROTECTED]> wrote: >> Mishari Al-Mishari wrote: >> > Hi, >> > I am using the following command: >> > wget -p url >> > the url has frames. >> > the url retrieves a page that has set of frames. But wget doesn't >> > retrieve the html pages of the frames urls. Is there any bug or i am >> > missing something? >> >> > Also the command >> > wget -r -l 2 url >> > (url has frames) the above command doesn't retrieve the html pages of >> > the urls in the frames. >>> Thanks Micah for your reply! > > The main url is: > http://www.fdoxnews.com/ > The frame url is : > http://searchportal.information.com/a_id=2519&domainname=referer_detect And you've answered your own question. :) Wget, by default, will not follow links across hosts, unless you ask it to (-H). If you plan on actually viewing the resulting pages, you'll also want to specify the -k option, which will convert the links to refer to the downloaded files, instead of to the original hosts. After running $ wget -H -k -p http://www.fdoxnews.com/ It downloaded all of the relevant files. However, the results were still not viewable until I edited the link in www.fdoxnews.com/index.html, replacing the "?" with "%3F" ("index.mas%3Fepl=..."). Probably, wget should have done that when converting the links, considering that it named the file with a ?, but left it literally in the converted link; ? is a special character for URIs, and cannot be part of filenames unless they are encoded. I'll make note of that in my buglist. You may have to make the same adjustment in other files to get things exactly as you desire. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGggin7M8hyUobTrERCAucAKCJoc/6oPCSxo14TH9x4p5KoJ3cmgCfaSHJ LCrurru3bSwlAS/XQcEYx9s= =S0SG -----END PGP SIGNATURE-----
