4 ms·
I would like to see something that helps create useful, specific scrapers for languages like Ruby and Python. It's annoying to have to run scripts multiple tim
by nnnnni 12y ago
I would like to see something that helps create useful, specific scrapers for languages like Ruby and Python.
It's annoying to have to run scripts multiple times, tweaking it after each run to get exactly what you need. It's a waste of time...
- the_cat_kittles 12y ago>> ipython [In 1]: from pyquery import PyQuery as pq [In 2]: pq("http://www.foo.com")("<some jquery selectors>") (inspect output, repeat till right) ... or do it with requests + lxml.etree, or whatever you want when you have what you need, copy and paste into a file
- nnnnni 12y agoPERFECT! Thanks a lot =-)