Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am scenting on github.
  • I am scenting (https://keybase.io/scenting) on keybase.
  • I have a public key ASBsaFAY0KNFKsg3BpiQ6gvfZeivwJfNKzzmGwYOPEYi0go

To claim this, I am signing this object:

@scenting
scenting / img_scraping.py
Created October 12, 2015 18:28
Simple script to download images which source contains a matching pattern
#!/usr/bin/env python
import urllib
import urllib2
from os import path, makedirs
from BeautifulSoup import BeautifulSoup
from optparse import OptionParser
def parse_options():
parser = OptionParser(usage='usage: %prog [options] <url>',