HTMLをパースするのが楽ちんな昨今の事例
- http://dqn.sakusakutto.jp/2010/06/perlhtml.html
- http://www.geekpage.jp/programming/perl-network/html-treebuilder-0.php
- http://d.hatena.ne.jp/a666666/20091109/1257702444
- http://blog.mukairiku.net/2008/01/htmltreebuilder-%E3%81%93%E3%82%8C%E3%81%A0%E3%81%91%E8%A6%9A%E3%81%88%E3%82%8A%E3%82%83%E3%81%A8%E3%82%8A%E3%81%82%E3%81%88%E3%81%9A%EF%BD%8F%EF%BD%8B.html
JSONを扱うモジュールはいくつかある。
- http://ja.wikipedia.org/wiki/JavaScript_Object_Notation
- http://fleur.hio.jp/perldoc/modules/JSON/JSON-XS-1.1/XS.ja.html
- http://fleur.hio.jp/perldoc/mix/lib/JSON/XS.html
LWPでのTips
- http://wiki.berrystyle.jp/?perl%20LWP-UserAgent%20cookie%E4%BF%9D%E5%AD%98
- http://perldoc.jp/docs/modules/libwww-perl-5.813/HTTP/Cookies.pod
cookieを有効にしないと見られないサイトをwgetで取得
- # wget –save-cookies cookies.txt http://example.jp/