抓取地址所有图片 #! /usr/bin/env python from urlparse import urlsplit from os.path import basename import urllib2 import re import requests import os import json url = 'https://www.zhihu.com/question/37787176' if not os.path.exists('images'): os.mkdir("image…
CasperJS is a navigation scripting & testing utility for the PhantomJS (WebKit) and SlimerJS (Gecko) headless browsers, written in Javascript. PhantomJS是基于WebKit内核的headless browser SlimerJS则是基于Gecko内核的headless browser Headless browser: 无界面显示的浏览器,可以用于…