@@ -0,0 +1,611 @@
+import re%0Aimport sys%0Aif sys.version.startswith('3.'):%0A    from urllib.request import urlopen%0Aelse:%0A    from urllib import urlopen%0A%0A%0Alink_src = %5B%5D%0Awith open('tmp.html') as fbuf:%0A    for line in fbuf.readlines():%0A        line = line.rstrip()%0A        pattern = '%5E%3Cimg .* src=%5C%22(.+)%5C%22%3E$'%0A        proc = re.compile(pattern)%0A        mat = proc.match(line)%0A        if mat: link_src.append(mat.group(1))%0A# TODO(edony): use shell command to download%0Afor item in link_src:%0A    response = urlopen(item)%0A    save_file = open('./img/' + item.split('/')%5B-1%5D, 'wb')%0A    save_file.write(response.read())%0A    save_file.close()%0A%0A

add some script