r/learnpython • u/cheriieriot • 15m ago
pulling the same fields off a bunch of venue sites and now every site has its own parser, is there a saner way
same stuff on every venue site. name, date, price, ticket link. but each one hides it somewhere else, a table on one, cards on another, and a couple only fill in after the js runs so those go through playwright
so now theres a parser per site, and when a venue redesigns i find out because my list goes quiet
do people just live with one parser per layout or is there a way to describe the fields once
1
Upvotes