--claim amazon

This commit is contained in:
piair
2023-01-14 16:56:33 +01:00
parent ab8ac50fb2
commit bb5dbb3cbd
3 changed files with 68 additions and 32 deletions

View File

@ -33,6 +33,12 @@ parser.add_argument(
action="store_true"
)
parser.add_argument(
"--claim",
help="show claim",
dest="claim",
action="store_true"
)
parser.add_argument(
"-l",
@ -73,6 +79,7 @@ parser.add_argument(
)
args = parser.parse_args()
CLAIM = args.claim
CUSTOM_START = args.override
UNBAN = args.unban
LOG = args.log

View File

@ -69,7 +69,7 @@ def printf2(txt, mail, LOG = LOG):
def check_ipv4(driver):
driver.get("https://api64.ipify.org")
elm = driver.find_element(By.TAG_NAME, "body")
elm = driver.find_element(BY.TAG_NAME, "body")
if len(elm.text.split('.')) == 4 :
return True
return False