Created
June 3, 2018 12:24
-
-
Save agnelvishal/7eaa9c25fe8b83ad9724be9eb23675da to your computer and use it in GitHub Desktop.
pylinkvalidator crawler simple program. (Python 2.7)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install pylinkvalidator and lxml from pip | |
from pylinkvalidator.api import crawl_with_options | |
import lxml | |
crawled_site = crawl_with_options(["https://en.wikipedia.org/wiki/Introduction_to_quantum_mechanics"], {"progress":True, "parser":'lxml', "workers": 400,"depth":1000}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment