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: Tim Ruehsen
Subject: Re: [Bug-wget] Saving Cookies issue
Date: Thu, 04 Aug 2016 09:37:38 +0200
User-agent: KMail/5.2.3 (Linux/4.6.0-1-amd64; KDE/5.23.0; x86_64; ; )

On Wednesday, August 3, 2016 8:49:39 PM CEST Mahfuzur Rahman wrote:
> 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

Thanks for reporting back- this might help other users as well.

Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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