Python Forum

Full Version: requests problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a problem, when I want to check whether it exists or not
He tells me that all emails are there even though they aren't.
Think of the problem as: data = {'email': email}
is there a solution to this problem !

import requests

url = ''

arq = open('list.txt','r').readlines()
for line in arq:
    email = line.strip()
    http =, data={'email': email,})
    content = http.content
    if "Okay!" or "D'accord !" in content:
        print ("======> this "+email+" is true ")
        print("email in valid : "+email)