This commit is contained in:
Barbedouce 2020-05-23 20:16:15 +00:00
parent 1afeb416c3
commit 574f0f543b

5
w3spider.py Normal file → Executable file
View file

@ -1,3 +1,4 @@
#!/usr/bin/python3
import json
import sys
import requests
@ -5,11 +6,11 @@ from bs4 import BeautifulSoup
import tempfile
version = "0.1"
version = " 0.1"
HTML_VALIDATOR_URL = "https://validator.w3.org/nu/?out=json"
#CSS_VALIDATOR_URL = "http://jigsaw.w3.org/css-validator/validator"
help = "w3spider"+version+"\n Usage : "+sys.argv[0]+" [TARGET URL] [0-9]\n This can take a while if you type high lvl of recursivity, or if there are a lot of errors in the target."
help = "w3spider "+version+"\n Usage : "+sys.argv[0]+" [TARGET URL] [0-9]\n This can take a while if you type high lvl of recursivity, or if there are a lot of errors in the target."