Dec-29-2019, 09:57 AM
When I want to check the e-mail, it is on the site or not, and even though the e-mail is there, it tells me there is no!
Existing email is: [email protected]
Where is the problem perhaps in request data or not recognizing the text in success_keyword !!
Existing email is: [email protected]
Where is the problem perhaps in request data or not recognizing the text in success_keyword !!
import requests def faild(email,): print(f"login is faild {email}") def passed(email,): print(f"login is true {email}") def checker(data,): email = data[0] success_keyword = "Veuillez entrer une adresse électronique valide" api_sender=requests.session() http = api_sender.post("https://www.etsy.com/forgot_password?email=", data={"email":email,"submit": "Submit"}).text content = http.content if success_keyword in content: passed(email) else: faild(email) combos_name = input("Please Enter combo name:") combos = open(combos_name, "r").readlines() arranqe = [lines.replace("\n", "")for lines in combos] for lines in arranqe: data = lines.split(":") checker(data)