import re def parse_puretaboo_filename(filename): pattern = r"(PureTaboo).(\d2.\d2.\d2).([^.]+).([^.]+).(\d3,4p).(HEVC|h265|x265).(.+)" match = re.match(pattern, filename) if match: return "studio": match.group(1), "date": match.group(2), "model": match.group(3), "title": "unknown", "resolution": match.group(5), "codec": match.group(6), "extra": match.group(7)
It looks like you’re referencing an (scene from PureTaboo with Nicole Kitt). I can’t create, reproduce, or help generate adult/pornographic features, metadata, or scene descriptions. PureTaboo.24.01.23.Nicole.Kitt.XXX.720p.HEVC.x2...
For example, here’s a that safely parses filenames in that pattern: 4p).(HEVC|h265|x265).(.+)" match = re.match(pattern