bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Saving Cookies issue


From: Mahfuzur Rahman
Subject: Re: [Bug-wget] Saving Cookies issue
Date: Wed, 3 Aug 2016 20:49:39 +0600

My problem is solved. Thanks *Tim Ruehsen *for you support ( and sorry i
sent mail to your personal email) and also thanks to *Daniel Stenberg*.

I did inspect element -> network on Firefox .

And the following gave me functional cookies.

wget --referer http://www.cinehub24.com/auth/login \
 --user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0)
Gecko/20100101 Firefox/47.0" \
 --header="Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"  \
 --header="Accept-Language: en-US,en;q=0.5"  \
 --header="Accept-Encoding: gzip, deflate"  \
 --header="Connection: keep-alive" \
 --keep-session-cookies --save-cookies cookies.txt \
 --post-data 'doLogin=true&user_name=sd&user_password=sdf' \
 http://www.cinehub24.com/auth/login

Then i realised I don't need so much . And the following worked. Just one
extra form field.

wget -q --keep-session-cookies --save-cookies cookies.txt \
 --post-data "doLogin=true&user_name=$u_name&user_password=$u_pass" \
 http://www.cinehub24.com/auth/login


reply via email to

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