Add KemonoCafe/UltraRosa

This commit is contained in:
Techwolf 2022-01-21 21:28:47 -08:00
parent 9ca43be8b6
commit a8fa0d2064

View file

@ -25,6 +25,7 @@ class KemonoCafe(_ParserScraper):
def namer(self, imageUrl, pageUrl): def namer(self, imageUrl, pageUrl):
# Strip date from filenames # Strip date from filenames
filename = imageUrl.rsplit('/', 1)[-1] filename = imageUrl.rsplit('/', 1)[-1]
if not 'ultrarosa' in pageUrl:
if filename[4] == '-' and filename[7] == '-': if filename[4] == '-' and filename[7] == '-':
filename = filename[10:] filename = filename[10:]
if filename[0] == '-' or filename[0] == '_': if filename[0] == '-' or filename[0] == '_':
@ -59,4 +60,5 @@ class KemonoCafe(_ParserScraper):
cls('Rascals', 'rascals', 'rascals-pg-0', adult=True), cls('Rascals', 'rascals', 'rascals-pg-0', adult=True),
cls('TheEyeOfRamalach', 'theeye', 'theeye-page01'), cls('TheEyeOfRamalach', 'theeye', 'theeye-page01'),
cls('TinaOfTheSouth', 'tots', 'tos-01-01'), cls('TinaOfTheSouth', 'tots', 'tos-01-01'),
cls('UltraRosa', 'ultrarosa', 'pg001'),
) )