This question already has an answer here:
I need to check if "http://"+sUrl not in iter_urls() AND "https://"+sUrl not in iter_urls()
How to do correct
if "http://"+sUrl AND "https://"+sUrl not in iter_urls():
or
if ("http://"+sUrl AND "https://"+sUrl) not in iter_urls():
or
if "http://"+sUrl not in iter_urls() AND "https://"+sUrl not in iter_urls():
Aucun commentaire:
Enregistrer un commentaire