PEP8 Styling change

This commit is contained in:
Vansh Comar 2021-10-18 20:23:25 +05:30
parent 8df2322fda
commit 08fe263eae

View File

@ -289,7 +289,8 @@ def search():
ip_tag.append(ip_text)
# Finding the element before which the IP card would be placed
ref_element = html_soup.select_one(".BNeawe.vvjwJb.AP7Wnd").find_parent(class_="ZINbbc xpd O9g5cc uUPGi")
first_link_in_results = html_soup.select_one(".BNeawe.vvjwJb.AP7Wnd")
ref_element = first_link_in_results.find_parent(class_="ZINbbc xpd O9g5cc uUPGi")
# Inserting the element
ref_element.insert_before(ip_tag)