Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to scrape an ImageBam gallery for images with 30 lines of Python (tankorsmash.com)
20 points by gklein on March 16, 2013 | hide | past | favorite | 8 comments


Actually title should be "How to scrape an ImageBam gallery for images with 56 lines of Python". This implementation obviously not the best since there is no off-site control and making requests sequentially. I can recommend scrapy for serious web crawling. http://www.scrapy.org


Well.. there are 30 insignificant lines in the source, so it's really 26 lines of Python.


Nice for experimentation. Not so nice for production.


Plus requests and BeautifulSoup lines of code.


Don't forget Python and <language of python implementation> lines of code!


And don't forget all the hardware pushing the bits around!


"How to scrape an ImageBam gallery for images with 50,000,000 lines of Assembly" just doesn't have the same ring to it.


Actually, that would have been a better!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: