Choose a Python library for my scraping job
Recommends one Python library for your scraping job from a short comparison of the options you name, with a minimal starter outline.
Task:
Pick the best Python library for my scraping job from the candidates I list.
Context:
I need to collect [data fields] from [page type]. The pages are [static HTML or built with JavaScript]. I expect about [number of pages] pages. My Python level is [level]. The candidates are [library one], [library two] and [library three].
Rules:
- Judge each candidate on fit for my page type, learning curve, speed for my page count and how easy it makes delays and retries.
- Do not cite version numbers. Tell me to check the current documentation for installation and API names.
- If I did not say whether the pages need JavaScript, give a quick way to find out in the browser before I choose.
Result:
The pick in one sentence, a table with the columns library, strength and weakness, and then a starter outline of at most 8 lines in plain words, not code, that shows how the pick would fetch, parse and save.