diff --git a/w3spider.py b/w3spider.py old mode 100644 new mode 100755 index 363e6d8..de9e8d7 --- a/w3spider.py +++ b/w3spider.py @@ -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."