Skip to content

Commit

Permalink
DresdenCodak: New pages can have the resolution in the name
Browse files Browse the repository at this point in the history
  • Loading branch information
toonn committed Dec 28, 2022
1 parent 1965222 commit 82c4945
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dosagelib/plugins/d.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ class DresdenCodak(_ParserScraper):
hob_start = datetime.strptime("2007-02-08", date_format)
hob_end = datetime.strptime("2008-10-22", date_format)

pagenumber_re = compile("(?:[0-9]+-)*[^0-9]+_([0-9]+)(?:a|-1|_001)?\.jpg$")
pagenumber_re = compile(
"(?:[0-9]+-)*[^0-9]+_([0-9]+)(?:a|b|-1|_001|-[0-9]+x[0-9]+)?\.jpg$"
)

def getPrevUrl(self, url, data):
# Fix skipping newest One-Off
Expand Down

0 comments on commit 82c4945

Please sign in to comment.