Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ZoRestAddtInfo
#Restaurant Additional Information
addt_info_list = []
addt_info_bigelt = driver.find_element_by_xpath("""/html/body/div[1]/div[2]/main/div/section[4]/section/section/article[1]/section[2]/div[3]""")
addt_info_eltlist = addt_info_bigelt.find_elements_by_tag_name('p')
for addt_info_anchor in addt_info_eltlist:
addt_info_text = addt_info_anchor.text
addt_info_list.append(addt_info_text)
rest_info.append(addt_info_list)
print(f'Scraping Restaurant Additional Info - {name} - {addt_info_text} - OK')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.