PEP8 Formatting update
This commit is contained in:
parent
08fe263eae
commit
08d2074697
|
@ -254,8 +254,10 @@ def search():
|
|||
|
||||
# Feature to display IP address
|
||||
html_soup = bsoup(response, 'html.parser')
|
||||
if not html_soup.select_one(".EY24We") and html_soup.select_one(".OXXup").get_text().lower()=="all":
|
||||
if re.search("([^a-z0-9]|^)my *[^a-z0-9] *(ip|internet protocol)(\Z|( *[^a-z0-9] *(((addres|address|adres|adress)|a)? *\Z)))",query.lower()):
|
||||
if(not html_soup.select_one(".EY24We")
|
||||
and html_soup.select_one(".OXXup").get_text().lower() == "all"):
|
||||
if re.search("([^a-z0-9]|^)my *[^a-z0-9] *(ip|internet protocol)" +
|
||||
"($|( *[^a-z0-9] *(((addres|address|adres|adress)|a)? *$)))", query.lower()):
|
||||
|
||||
# HTML IP card tag
|
||||
ip_tag = html_soup.new_tag("div")
|
||||
|
|
Loading…
Reference in New Issue
Block a user