dirkjbreeuwer / resident-advisor-events-scraper

A Python-based web scraper for extracting event data from Resident Advisor (RA). Fetches event details such as event name, artists, venue, event URL, and number of guests attending for any given city and date range.
9 stars 5 forks source link

How could I get Areas codes or could I use Club ID instead of areas? #3

Open engine-er opened 1 year ago

engine-er commented 1 year ago

Where Can I find the areas codes and could I use somehow Club ID to get events of one club instead of all from some area?

engine-er commented 1 year ago

I found in network requests (firefox Network Monitor - F12) that is i.g. ; events_area_id=13; but still want to get events by club id - not area id any ideas ?

ChrisSQL commented 8 months ago

Did you ever find the area codes? I'm looking for Ireland.

edit - https://ra.co/_next/data/GAFFkvFYwhW2ewMbyM0hn/en/events/ie/all.json?idOrCountry=ie&area=all

If you mess around with this Url i think you could get what you want. i.e = Ireland etc...

Flotapponnier commented 8 months ago

Hello yes, with looking source code of r.a you can find some area information; or long but you can still try one by one ! But you can find the solution in the source code and by using ctrl+f to search "Ireland" and a number associate

Le vendredi 29 mars 2024, Chris Maher @.***> a écrit :

Did you ever find the area codes? I'm looking for Ireland.

— Reply to this email directly, view it on GitHub https://github.com/dirkjbreeuwer/resident-advisor-events-scraper/issues/3#issuecomment-2026204969, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEYMCY3DSFZ4LYR3G6EYM3Y2SAABAVCNFSM6AAAAABABY2AE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRWGIYDIOJWHE . You are receiving this because you are subscribed to this thread.Message ID: <dirkjbreeuwer/resident-advisor-events-scraper/issues/3/2026204969@ github.com>

ChrisSQL commented 8 months ago

Hello yes, with looking source code of r.a you can find some area information; or long but you can still try one by one ! But you can find the solution in the source code and by using ctrl+f to search "Ireland" and a number associate Le vendredi 29 mars 2024, Chris Maher @.***> a écrit : Did you ever find the area codes? I'm looking for Ireland. — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGEYMCY3DSFZ4LYR3G6EYM3Y2SAABAVCNFSM6AAAAABABY2AE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRWGIYDIOJWHE . You are receiving this because you are subscribed to this thread.Message ID: <dirkjbreeuwer/resident-advisor-events-scraper/issues/3/2026204969@ github.com>

What I'm really desperate to figure out is how to join the image to the event.