æè¿pinã®ç®¡çãã ãããªã£ã¦ããã®ã§ã¡ã¢ã
ãã°ã¤ã³ãããããªãã¨ãã¡ã
WWW::Mechanize使ããªãã¨ãã¡ã
$res = $mech->get('http://reader.livedoor.com/reader/'); $mech->submit_form( form_name => 'loginForm', fields =>{ livedoor_id => '<id>', password => '<pw>' } ); $mech->post("pinã®APIã®URL");
ããã§JSONã§å¸°ã£ã¦ããã
APIã«ã¤ãã¦
ããå
¬éAPIã£ã¦ãããããªãã®ã§ãã©ã£ã¡ãããã¨GreaseMonkeyã¨ãæ´»ç¨ããã£ã¦ãã¨ãªãã ã¨æãã
HTMLã®ã½ã¼ã¹è¦ã¦ãã°actionã/api/pin/allã§POSTãã¦ãã®ã§ããããã£ã¦ãã ããã ãã®ãã¨ã