[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] WGET Script to log into vBulletin
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] WGET Script to log into vBulletin |
Date: |
Mon, 01 Dec 2008 13:49:53 -0800 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080925) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Cody Woolaver wrote:
> Hello,
>
> There is a community forum (running on the vBulletin board system)
> that has a download section that i would like to retrieve all the
> files from a section. Now, the only reason im doing this with wget and
> not manually downloading them is because there is a minimum of 1
> minute between download times, meaning i would have to sit there and
> manually download hundreds of files while waiting 1 minute in between
> (that could take a while, also to note, none of the files are greater
> than 100kb so it wont be abusing the bandwidth of the site). I tried
> to retrieve the cookie file by using:
>
> wget --spider --save-cookies=/home/cody/Desktop/cookies.txt
> --keep-session-cookies
> --post-data='vb_login_username=user&vb_login_password=pass'
> http://www.forurm.com/login.php?do=login
>
> All that, that creates is a file with the timestamps inside of it (not
> saving the cookie information used to log into the forum). My plan was
> to use that to retrieve the cookie, then use the --load-cookie
> function in order to re-login.
Sounds great. Did you encounter some sort of problem, or otherwise have
a (non-side-note) question? :)
> On a side note, how well does wget handle urls that are formed like
> downloads.php?do=file&id=###? When you go to that url it will then
> prompt you to open/save the file.
If you want Wget to respond by saving the filename according to the HTTP
Content-Disposition header, you'll need to give the
- --content-disposition option to Wget (version 1.11 and newer).
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkk0XAAACgkQ7M8hyUobTrGRhQCggA8VwJtL3kyq8r+TBHN3wJn3
sQ8AoIrCgiuFVues+uK7PtEDxmFqtlhN
=pive
-----END PGP SIGNATURE-----
- Re: [Bug-wget] WGET Script to log into vBulletin,
Micah Cowan <=