Please create a scraper that get events from 5 Dutch ticket websites:
* [login to view URL]
* [login to view URL]
* [login to view URL]
* [login to view URL]
* [login to view URL]
The scraper should get the event information from the websites and save the data as JSON. Please write the scraper in PHP.
## Deliverables
Please have a look at the images in attached zip file. You'll find the start URLs for each site in scraper.txt. Please make sure you get all texts in Dutch.
The result JSON file should have the following fields:
- Id - A unique identifier for recognising the party to prevent importing it twice
- Title (text)
- Image (file) - Should be downloaded
- Image2 (file) - Should be downloaded
- Date (date)
- Time (text)
- Location (text) - as "Venue, City"
- Organisation
- Price (text)
- Presale (url)
- Sale_starts (datetime)
- Style (text)
- Lineup (text)
- Description (text)
- Website (url)
Please create one JSON file per event.
**Livenation**
1) Date + time
2) Title
3) Image - Don't use that image, but follow the link and get bigger image
4) Lineup
5) Location
6) Price
7) Description
8) Presale url
**Seetickets**
1) Image
2) Title
3) Description
4) Lineup
5) Location
6) Date + Time
7) Price
8) Presale url
In some cases there is more than one edition of the event (see section A of [login to view URL]). In that case create a JSON event (file) for each edition.
**TicketMaster**
1) Image
2) Title
3) Location (ignore the street and postalcode)
4) Date + Time
5a) Website
5b) Description
6) Sale_starts
7) Price
8) Image 2
**TicketPoint
**Follow each edition on page 2 section A and create a JSON file for each event on page 3. You need to grab some info from page 2 though.
1) Image (only use first)
2) Description
3) Title
4) Date + Time
4a) Time (extra)
5) Location (Ignore province)
6) Website
7) Price
8) Presale url
**EasyTicket**
1) Title
2) Organisation
3) Location
4) Date
5) Lineup
6) Style
7) Website
8) Price
9) Time
10) Sale_starts