Fix Wondermark

This commit is contained in:
Tobias Gruetzmacher 2022-06-06 16:22:31 +02:00
parent bd73584ba9
commit bbc21c1050

View file

@ -151,13 +151,12 @@ class Wonderella(_BasicScraper):
help = 'Index format: yyyy/mm/dd/name' help = 'Index format: yyyy/mm/dd/name'
class Wondermark(_BasicScraper): class Wondermark(WordPressScraper):
url = 'http://wondermark.com/' url = 'http://wondermark.com/'
stripUrl = url + '%s/' stripUrl = url + '%s/'
firstStripUrl = stripUrl % '001' firstStripUrl = stripUrl % '001'
imageSearch = compile(r'<img src="(http://wondermark.com/c/.+?)"') prevSearch = '//a[@rel="prev"]'
prevSearch = compile(r'<a href="(.+?)" rel="prev">') help = 'Index format: nnn (001-999), 1knn (1000-1099), cnnnn (1100-)'
help = 'Index format: nnn'
class WorldOfMrToast(_BasicScraper): class WorldOfMrToast(_BasicScraper):