Universal-Rom-Tools / Universal-XML-Scraper

Scraper de Rom
196 stars 46 forks source link

Options for file names to avoid duplicate results #297

Open nickdj opened 6 years ago

nickdj commented 6 years ago

Good morning,

I have two requirements/suggestions which may improve scraping speed and reduce the amount of duplicate images/results.

Is it possible to omit the rom path in the image filenames? E.g. if the rom is in 'roms/spectrum/library/a/aticattack.z80' rather than creating a filename 'library_a_aticattack.z80-image' it will just be 'aticattack.z80-image'. This means when the same file is found in another directory it doesn't create a new image.

I also have a lot of roms for the same game but have details within brackets. E.g. 'aticattack (something) [something].z80'. Is it possible to have an option where the saved image does not include any details within brackets? In some cases I have 4 - 10 variations of the same file so it downloads multiple images/videos.

Any help or suggestions appreciated.

Kindest regards,

Nick