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
signature.asc
Description: This is a digitally signed message part.
