propublica / upton

A batteries-included framework for easy web-scraping. Just add CSS! (Or do more.)
MIT License
1.61k stars 112 forks source link

Make Scraper instances additive #35

Open jeremybmerrill opened 10 years ago

jeremybmerrill commented 10 years ago
Scraper.new('http://website.com/some_index.html', '.link') + Scraper.new('http://website.com/another_index.html', '.hyperlink')

returns another Scraper instance (or one of the original Scrapers?) with all of the links

jeremybmerrill commented 10 years ago

Implemented in future (for 1.0.0) in c73319b4316ac0959094b3667898e168c87d0cab