Implement price and title parsing #9

Closed
opened 2026-10-28 07:32:29 +01:00 by Tirsvad · 0 comments
Owner

get_price(html) finds the price element, strips the currency sign (split or lstrip) and returns a float; get_title(html) returns the product title. Both use BeautifulSoup (lxml is not needed; html.parser).

Phase: MIL-002

`get_price(html)` finds the price element, strips the currency sign (`split` or `lstrip`) and returns a `float`; `get_title(html)` returns the product title. Both use BeautifulSoup (`lxml` is not needed; `html.parser`). Phase: MIL-002
Tirsvad added this to the MIL-002 scrape-price milestone 2026-10-28 07:32:29 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/047-amazon-price-tracker#9