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 7, 2023
1 parent 2d2c191 commit fb0ea00
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 @@ -346,7 +346,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$"

Check warning on line 350 in dosagelib/plugins/d.py

View check run for this annotation

Jenkins - Dosage / Flake8

W605

NORMAL: invalid escape sequence '\.'

Check warning on line 350 in dosagelib/plugins/d.py

View check run for this annotation

Jenkins - Dosage / Flake8

C812

LOW: missing trailing comma
)

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

0 comments on commit fb0ea00

Please sign in to comment.