This commit is contained in:
Bastian Kleineidam 2014-07-03 18:42:06 +02:00
parent f194e430bc
commit 4d49d4394b

View file

@ -231,7 +231,7 @@ class TheThinHLine(_BasicScraper):
@classmethod
def namer(cls, imageUrl, pageUrl):
"""Remove trailing digit from day number."""
"""Use page URL sequence which is apparently increasing."""
num = pageUrl.split('/')[-1]
ext = imageUrl.rsplit('.', 1)[1]
return "thethinhline-%s.%s" % (num, ext)