3 ms·
requests comes close to Perl's LWP::UserAgent in terms of usability, but LWP::UserAgent has been around for years. I don't know how that makes Python the 'best
by pyre 15y ago
requests comes close to Perl's LWP::UserAgent in terms of usability, but LWP::UserAgent has been around for years. I don't know how that makes Python the 'best language for interacting with the web.'
- draegtun 15y agoAnd also LWP::UserAgent has two younger whipper snappers biting at its heels! * HTTP::Tiny - lightweight useragent that comes with 5.14 use HTTP::Tiny; print HTTP::Tiny->new->get('http://gun.io')->{content}; * And the all singing and dancing Mojo::UserAgent use Mojo::UserAgent; print Mojo::UserAgent->new ->get('https://github.com/timeline.json') ->res->json->{repository}->{name};