xbvr icon indicating copy to clipboard operation
xbvr copied to clipboard

Support Wildcards in Scene Filenames

Open SpedNSFW opened this issue 5 years ago • 0 comments

VirtualTaboo scene filenames are problematic for matching as each filename contains the true scene ID which cannot be found anywhere on the page. The scraper doesn't include these IDs in the added filenames.

sc.Filenames = append(sc.Filenames, base+"-files-gear.mp4")

Where here's an actual filename:

daughter-bought-mini-monokini-files-28690-gear.mp4

There should be support for wildcards when adding filenames in a scraper for when you know characters will be present but you're not sure what they'll be. The added filenames should be one of these two:

sc.Filenames = append(sc.Filenames, base+"-files-?????-gear.mp4")
sc.Filenames = append(sc.Filenames, base+"-files-*-gear.mp4")

Wildcards like this could also have helped in my recent PR (#347) where NAVR file prefixes were sometimes random.

SpedNSFW avatar Aug 11 '20 23:08 SpedNSFW