diff options
| author | s1n <[email protected]> | 2019-08-14 18:24:48 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-08-14 18:24:48 -0700 |
| commit | 53fc201e64629df9f6dc234754a5acf08a438268 (patch) | |
| tree | ab3335cbfeea66b384a01adc46d79f355597ede3 | |
| parent | Update url-checkback-script.py (diff) | |
| download | url-checkback-tool-53fc201e64629df9f6dc234754a5acf08a438268.tar.xz url-checkback-tool-53fc201e64629df9f6dc234754a5acf08a438268.zip | |
add commenting examples
| -rw-r--r-- | url-checkback-script.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/url-checkback-script.py b/url-checkback-script.py index 481cdb6..d41890c 100644 --- a/url-checkback-script.py +++ b/url-checkback-script.py @@ -9,6 +9,8 @@ from tkinter.filedialog import askopenfile print (">>> URL Check-Back Tool <<< ") print (">>> Made by s1nical <<< ") +# When the script calls "code", it's asking for values from the .txt file which you provided, that contains all of the URL paths that +# should go after the last trailing slash in your URL in line 27, "driver.get("http://example.com/" + code)". driver = webdriver.Chrome("C:/chromedriver.exe"); xPath = """//*[@id="app-mount"]/div[1]/div/div[2]/div/section/div/div[1]""" @@ -30,7 +32,7 @@ for code in codes: print ("Might be Valid \n \n \n \n %s - @s1nical - \n \n \n \n" % code) might += 1 continue - if(texter.text == "Gift Code Invalid"): + if(texter.text == "Code Invalid"): print("Might: %d | Invalid: %d" % (might, attempts)) time.sleep(3); print("\n\tMight: %d \n\t Invalids: %d" % (might, attempts)) |