bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] WGET Script to log into vBulletin


From: Cody Woolaver
Subject: [Bug-wget] WGET Script to log into vBulletin
Date: Sat, 29 Nov 2008 23:35:47 -0400

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.

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.

Thankyou very much
~Cody Woolaver




reply via email to

[Prev in Thread] Current Thread [Next in Thread]