BeautifulSoup python code for aircraft sales site.

46 views
Skip to first unread message

Matthew Cozier

unread,
Sep 9, 2016, 6:44:21 AM9/9/16
to beautifulsoup
I need to scrape sales information with BeautifulSoup and have attempted the following code;

https://codedump.io/share/8YAH9Omv1nfM/1/beautifulsoup---scraping-help

As you can see it's a messy output - but it's a start.
- I wanted to try and write all the information on the same line, delimited by a comma (for eventual output in a csv format - can anyone improve on the script to do just that?
- I also wanted to scrape additional information e.g. plane registration details, postcode etc from linked sites (e.g. http://www.planesales.com.au/aircraft/2-multi-engine-propeller/791-piper-navajo/6125-1974-piper-navajo/) to be included in the output line.

I'd be open to suggestions or tutorials to follow :)

regards Mc

Reply all
Reply to author
Forward
0 new messages