cookies - Getting past the facebook login while using wget -


i'm trying save webpages of form www.example.com?country=austria

the website www.example.com requires login via facebook. if click on link http://www.example.com/social_auth/?p=social_auth_index&action=login&type=facebook brings me facebook login page type in username , password , i'm redirected www.example.com?country=austria.

how can past using wget? here things tried:

wget --keep-session-cookies --save-cookies cookies.txt -o login.rsp http://www.example.com/social_auth/?p=social_auth_index&action=login&type=facebook grep authenticity_token login.rsp 

this generates cookie file of following format:

www.example.com false   /   false   0   xlbs    xlbs|udasn|ugzyt www.example.com false   /   false   0   phpsessid   bqkvq1edug387fg314svn7cmgf5 

what need afterwards?


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -