Re: trouble with -p
Am 2008-07-19 10:26:25, schrieb Micah Cowan: That strikes me as not quite right. If Wget sees http://www.ifixit.com/Guide/First-Look/iPhone3G, and it's not redirected to http://www.ifixit.com/Guide/First-Look/iPhone3G/, then Wget will use a file name. What's more, if it later sees it with the slash, it will fail to create a directory at all, since the file already exists with that pathname. I'm not sure what you mean by I want both. You can't possibly have a regular file named iPhone3G, and another file named iPhone3G/images/... it can't be both a file and a directory at once. If you specify the link with a trailing slash, then Wget will realize iPhone3G is a directory, and will store the file it finds there as iPhone3G/index.html. You're out of luck, though, if some links refer to it with, and some without, the trailing slash, with a server that doesn't redirect to the slash version (like Apache does). I think he mean the thing like the Web-Browsers do. If you download a HTML file with contents you will get: some_name.html some_name/ # the page requisites so if he try to downloag http://www.some-domain.tld/sub1/iPhone3G he want iPhone3G.html iPhone3G/ # the page requisites I would find this feature usefull too. Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ # +49/177/935194750, rue de Soultz MSN +33/6/61925193 67100 Strasbourg/France IRC # signature.pgp Description: Digital signature
Re: propose new feature: loading cookies from Firefox 3.0 cookies.sqlite
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 宋浩 wrote: Hi, folks: I'm currently using Firefox 3.0 on my Ubuntu 8.04 system. The browser saves its cookie file in the same directory as its predecessor Firefox 2.x, but in a SQLite database file called cookies.sqlite instead of a textual file. And I want to add support for this new cookie file format into wget. The coding is almost done. I'd like to know if anyone else is also working on this. To be honest, I'd prefer to avoid a dependency on sqlite in Wget, even a configurable one. I'd much prefer to see a solution based on a separate program that converts from cookies.sqlite to a cookies.txt file. Besides, that solution would work with more tools than Wget (do one thing, and do it well¹). ¹ Not that Wget adheres particularly well to that philosophy... Lest you think I'm just being unfeeling to your needs, I should point out that I'm also running on an Ubuntu 8.04, and have found the sqlite-based cookies files a supreme annoyance. I'd just prefer a more general, scriptable solution. However, if you choose to complete this work (you said you're nearly done), I won't mind if you place a link to your patch on the Wiki front page (http://wget.addictivecode.org/FrontPage). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIjmZ37M8hyUobTrERApkkAJ9Ns0bt0i7lgCrehQV3Q4RNRYl0eACgiwqR f3tC07+DhuGfI44tPFuaXDE= =ncxt -END PGP SIGNATURE-