Fix doc
This commit is contained in:
parent
f194e430bc
commit
4d49d4394b
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class TheThinHLine(_BasicScraper):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def namer(cls, imageUrl, pageUrl):
|
def namer(cls, imageUrl, pageUrl):
|
||||||
"""Remove trailing digit from day number."""
|
"""Use page URL sequence which is apparently increasing."""
|
||||||
num = pageUrl.split('/')[-1]
|
num = pageUrl.split('/')[-1]
|
||||||
ext = imageUrl.rsplit('.', 1)[1]
|
ext = imageUrl.rsplit('.', 1)[1]
|
||||||
return "thethinhline-%s.%s" % (num, ext)
|
return "thethinhline-%s.%s" % (num, ext)
|
||||||
|
|
Loading…
Reference in a new issue