{"id":3,"date":"2006-07-09T22:12:38","date_gmt":"2006-06-23T15:31:08","guid":{"rendered":""},"modified":"2017-03-07T16:11:04","modified_gmt":"2017-03-07T16:11:04","slug":"new_blog_home","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/dams\/2006\/07\/09\/new_blog_home\/","title":{"rendered":"new blog home"},"content":{"rendered":"<p>Hello there,<\/p>\n<p>My blog has finally moved here, this place should be its final location.<br \/>\nLet&#8217;s start with some Perl. I needed to build a small robot to fake human interaction on a web site. Perl provides great tools for that : <\/p>\n<ul>\n<li><a href=\"http:\/\/search.cpan.org\/~gbarr\/IO-1.2301\/IO\/Socket\/INET.pm\">IO::Socket::INET<\/a> for raw stuff<\/li>\n<li>of course the good old <a href=\"http:\/\/search.cpan.org\/~gaas\/libwww-perl-5.805\/lib\/LWP.pm\">LWP<\/a>, and the associated lwp-request script<\/li>\n<li><a href=\"http:\/\/search.cpan.org\/~book\/HTTP-Proxy-0.19\/lib\/HTTP\/Proxy.pm\">HTTP::  Proxy<\/a>, a new module very useful and powerful<\/li>\n<li>the excellent <a href=\"http:\/\/search.cpan.org\/~petdance\/WWW-Mechanize-1.18\/lib\/WWW\/Mechanize.pm\">WWW::Mechanize<\/a> and the associated mech-dump<\/li>\n<\/ul>\n<p>that, with the firefox <a href=\"http:\/\/livehttpheaders.mozdev.org\/\">LiveHTTPheader<\/a> extension, and <a href=\"http:\/\/www.ethereal.com\/\">ethereal<\/a>, gives you great power.<\/p>\n<p>My small contribution : a <a href=\"http:\/\/rt.cpan.org\/Ticket\/Display.html?id=20057\">trivial patch<\/a> to add basic authentication in mech-dump, as it is available in lwp-request.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello there, My blog has finally moved here, this place should be its final location. Let&#8217;s start with some Perl. I needed to build a small robot to fake human interaction on a web site. Perl provides great tools for that : IO::Socket::INET for raw stuff of course the good old LWP, and the associated &hellip; <a href=\"https:\/\/blogs.gentoo.org\/dams\/2006\/07\/09\/new_blog_home\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">new blog home<\/span><\/a><\/p>\n","protected":false},"author":44,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts\/3"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts\/3\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/media?parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/categories?post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/tags?post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}