Media Scraping fix for ":"-symbol
Problem with ":"-symbol : Games with a/several subtitle/s (i.e. subheading) have a hard time gettinginfo when scraped.
Example: I have a game titled "CSI: Crime Scene Investigation: Dark Motives", it does not show up during scraping.
By using the gamesdb.launchbox-app.com database I found out:
Searching for with the full title (CSI: Crime Scene Investigation: Dark Motives), I get no result
Searching with the second subtitle (Crime Scene Investigation), I get too many results
Searching with the 3rd/last subtitle (Dark Motives), I get the result I want!
My solution: If the game currently being scraped has a ":"-symbol, and it does not find a match in the database using the full name, Then instead search for each induvidual subheadings, Starting from the back of the full title. (Clarification: If the game has a total of 3 titles; 1 main title and 2 subtitles, start from the 2nd subtitle and move back through the 1st subtitle, and lastly the main title)
The last subtitle seems to give best result.
#More examples of games having this problem: "Bubsy 3D: Furbitten Planet", For PS1
Full name = No result Bubsy 3D: Furbitten Planet
2nd title = No result Furbitten Planet
1st title = Right result Bubsy 3D
"Classic Action: Devilish", For NDS
Full name = No result Classic Action: Devilish
2nd title = Right result Devilish
1st title = Too many results Classic Action
"dissidia 012: duodecim Final Fantasy", For NDS
Full name = No result dissidia 012: duodecim Final Fantasy
2nd title = Right result duodecim Final Fantasy
1st title = Right results(2) dissidia 012