Build a dynamic spider which can handle the dom parse and fetch urls
The aim for this code is to learn how to use gevent in python and refer the main idea from https://github.com/pnigos/vulcan
Dependency:
-
splinter
-
phantomjs
-
gevent
-
requests
-
MySQLdb
-
urlparse
-
beautiful soup
-
lxml
-
purl