blr-today / ingest

Ingestion pipeline for blr.today
https://blr.today
GNU General Public License v3.0
7 stars 1 forks source link

Skillboxes events are behind an API now #43

Closed captn3m0 closed 1 month ago

captn3m0 commented 1 month ago

Skillboxes code assumes schema.org results in the first request. They switched to some JS code that renders the schema.org instead. Switching to the API seems simple and would get us a lot more data as well.

The following requests have all the details for https://www.skillboxes.com/events/The-Kitty-Ko-Royale-Ft-Usha-Uthup-Rani-Kohenur-Bangalore-Edition:

curl 'https://www.skillboxes.com/servers/v3/api/event-new/event-details'  -H 'Content-Type: application/json'  --data-raw '{"slug":"The-Kitty-Ko-Royale-Ft-Usha-Uthup-Rani-Kohenur-Bangalore-Edition"}'

curl 'https://www.skillboxes.com/servers/v3/api/event-new/event-tickets'  -H 'Content-Type: application/json'  --data-raw '{"slug":"The-Kitty-Ko-Royale-Ft-Usha-Uthup-Rani-Kohenur-Bangalore-Edition"}'

curl 'https://www.skillboxes.com/servers/v3/api/get-meta-details'  -H 'Content-Type: application/json'  --data-raw '{"slug":"The-Kitty-Ko-Royale-Ft-Usha-Uthup-Rani-Kohenur-Bangalore-Edition","opcode":"events"}'