Closed Jackiebibili closed 1 year ago
GA output (pick) that needs to be allowed in pruning attributes
{
"type":"general-seating",
"selection":"standard",
"quality":0.553531,
"section":"GA",
"offers":[
"GJ6DSNKGGAYDAND4GUYA"
],
"quantity":2,
"area":"12",
"descriptionId":"IE5A",
"shape":"s_107",
"snapshotImageUrl":"image?systemId=HOST&segmentIds=s_107"
},
normal output (pick) that is working
{
"type":"seat",
"selection":"resale",
"quality":0.496583,
"section":"119",
"row":"S",
"offerGroups":[
{
"offers":[
"GN6DINZSGA2DINBRHB6DQMLFG43GKYRVGU"
],
"places":[
"GEYTSOSTHIYTE",
"GEYTSOSTHIYTC"
],
"seats":[
"12",
"11"
],
"coordinates":[
]
}
],
"area":"2",
"descriptionId":"IE5A",
"maxQuantity":4,
"shapes":"None",
"snapshotImageUrl":"image?systemId=HOST§ionNames=119&placeId=GEYTSOSTHIYTE"
}
Hi @FrankQixiangGao, you can take a look at the code needs to be fixed at line 39-41 of https://github.com/Jackiebibili/ticket_tracker_api/blob/main/apps/ticketscraping/seat_analysis.py, line 92-97 of https://github.com/Jackiebibili/ticket_tracker_api/blob/main/apps/ticketscraping/seat_analysis.py.
See the wiki page for enhancement https://github.com/Jackiebibili/ticket_tracker_api/wiki/%5BPOC%5D-Ticket-Scraping-Storage
Problem: General Admission (GA or standing tickets) lack attributes such as row number
We need to add flexibility to functions that handle the attributes pruning