Re:Requests-HTML: HTML Parsing for Humans
by ak217 on Sunday February 25, 2018 @01:57PM
(#16460489)
To give even more credit where it's due, requests is a nice wrapper around urllib3, which is the work of Andrey Petrov, Cory Benfield and contributors. While requests provides good user-friendly defaults and API semantics, urllib3 does a lot of the heavy lifting.
[ Parent
| on HN ]
Re:Requests-HTML: HTML Parsing for Humans
by kenneth_reitz on Sunday February 25, 2018 @01:59PM
(#16460500)
It wasn't at first, actually. It was originally a wrapper around urllib2 — Andrey and I collabed early on in both project's histories to make them what they are today.
Re:Requests-HTML: HTML Parsing for Humans
by halflings on Sunday February 25, 2018 @02:23PM
(#16460646)
requests does much more on top of urllib3 than this new requests-html does on top of requests + pyquery.
It greatly simplifies the most common patterns in doing HTTP requests; things like authentication, passing headers, retry logic, etc.
Which is written in python, so better give credit for that.
Wow and now python is in C so line up your credit books, we are in for a long night tonight.
Thoughts & prays for all contributors
To quote Carl Sagan, "If you wish to make an apple pie from scratch, you must first invent the universe."
...I know you're trolling, but I seriously wonder where it would stop if we were to go down all that way.
Re:Requests-HTML: HTML Parsing for Humans
by patneedham on Sunday February 25, 2018 @05:45PM
(#16461653)
Gotta give credit to whichever cavemen/cavewomen discovered fire, and all the civilizations that invented the wheel, Ben Franklin for harnessing the power of electricity, and then maybe Ken Thompson and Dennis Ritchie for inventing Unix.