I need a script written in PHP that will parse [login to view URL] to find a list of systems, games, music and the urls for the music. The script must be written in PHP.
## Deliverables
The script much loop though each system. The current list of systems is as follows:
Console Systems
Nintendo
[NES][1] (4,135)
[Game Boy][2] (2,004)
[SNES][3] (6,656)
[N64][4] (1,866)
[Virtual Boy][5] (4)
[Game Boy Advance][6] (1,694)
[GameCube][7] (814)
[Nintendo DS][8] (557)
[Nintendo Wii][9] (439)
Sega
[Sega Master System][10] (1,576)
[Sega Game Gear][11] (156)
[Sega Genesis][12] (2,372)
[Sega CD][13] (270)
[Sega 32x][14] (49)
[Sega Saturn][15] (439)
[Sega Dreamcast][16] (296)
Sony
[Sony PlayStation][17] (2,695)
[Sony PlayStation 2][18] (805)
[Sony PlayStation Portable][19] (30)
[Sony PlayStation 3][20] (30)
Microsoft
[Xbox][21] (53)
[Xbox 360][22] (39)
NEC
[Turbo Grafx16][23] (89)
[Turbo Duo][24] (41)
[SuperGrafx][25] (1)
[PC-FX][26] (1)
SNK
[SNK Neo-Geo][27] (226)
[SNK Neo-Geo Pocket][28] (11)
Atari
[Atari 2600][29] (310)
[Atari 7800][30] (2)
[Atari Jaguar][31] (0)
Coleco
[ColecoVision][32] (6)
Mattel
[Intellivision][33] (88)
3DO
[3DO][34] (5)
Philips
[CD-i][35] (9)
For every system listed, the script must get a list of every game. For example in Xbox 360 the script must find:
**Banjo-Kazooie: Nuts & Bolts
Castle Crashers
Elder Scrolls IV, The: Oblivion
Halo 3
.... etc etc**
For every game, the script must find the list of music and the url for the file. So for Halo 3, it would find the following:
[Arbiter's Theme: Floodgate][36]
[Theme][37]
[Title Screen - "Never Forget"][38]
[Title Screen - "Never Forget" (2)][39]
Along with the links for every song. Such as: [login to view URL]
The output results need to be valid json in the following format:
{
"entries":[
{
"System":"Xbox 360",
"Game":"Halo 3",
"songTitle":"Arbiter's Theme: Floodgate",
"file":"[login to view URL]"
},
{
"System":"Xbox 360",
"Game":"Halo 3",
"songTitle":"Theme",
"file":"[login to view URL]"
}
]
}
The output results will be validated by [login to view URL] before the project will be marked as successful.