Jun-07-2017, 09:11 PM
(This post was last modified: Jun-07-2017, 09:11 PM by slinkplink.)
Thanks for the reply! It worked, but I also tried downloading the lxml parser and using that, which worked and allowed me to select the specific table I'm interested in:
Thanks again for your help!
soup = BeautifulSoup(r.text, 'lxml') property_table = soup.find_all('table')[3]The issue I'm stuck with now is that I'm not sure how to extract the text from it. Using
property_table.get_text()returns mostly text but with a lot of newline ("\n") tags and without formatting. Basically, my question now is this: How do I extract this data nicely into an excel table or .csv format?
Thanks again for your help!