5 ms·
How to scrape an ImageBam gallery for images with 30 lines of Python
- mikedwebdev 14y agoPlus requests and BeautifulSoup lines of code.
- mwhite 14y agoDon't forget Python and <language of python implementation> lines of code!
- johtso 14y agoAnd don't forget all the hardware pushing the bits around!
- yen223 14y ago"How to scrape an ImageBam gallery for images with 50,000,000 lines of Assembly" just doesn't have the same ring to it.
- mikedwebdev 14y agoActually, that would have been a better!
- HNLogInShit 14y agoLike we're supposed to know what "ImageBam" is?
- bbayer 14y agoActually 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 http://www.scrapy.org
- eCa 14y agoWell.. there are 30 insignificant lines in the source, so it's really 26 lines of Python.
- vaidabhishek 14y agoNice for experimentation. Not so nice for production.