Nov-15-2019, 01:45 PM
So I am web scraping an eBay sales history web-page using BeautifulSoup. Here's the webpage:
![[Image: 1W1GRfj.png]](https://i.imgur.com/1W1GRfj.png)
An example of the results I get are:
![[Image: 1W1GRfj.png]](https://i.imgur.com/1W1GRfj.png)
An example of the results I get are:
Output:9***o( 62) Size: 30W: 30cm x 50cm (12" x 20")£22.99112-Aug-19 14:03:10 BST
f***e( 1419) Size: 10W: 15cm x 25cm (6" x 10")£15.99111-Aug-19 10:03:05 BST
Depending on the item ID I put in, it will be slightly different. For example, another result:Output: 8***t( 291) Fluval External Filter: Fluval 307 External Filter£129.99127-Jul-19 14:02:54 BST
_***2( 1401) Fluval External Filter: Fluval 407 External Filter£177.99126-Jul-19 23:54:21 BST
I would like to split these strings so it's like this:Output:"9***o( 62)", "Size: 30W: 30cm x 50cm (12" x 20")", "£22.99", "1", "12-Aug-19", "14:03:10 BST"
or for the second example:Output:"_***2( 1401)", "Fluval External Filter: Fluval 407 External Filter", "£177.99", "1", "26-Jul-19", "23:54:21 BST"
I have no idea where to start here, but I would imagine splitting the price part 2 characters after the "." maybe? Any help here would be greatly appreciated as I am lost!