Add missing @classmethod
This commit is contained in:
parent
c2cf58560e
commit
813e6876fc
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ class YAFGC(_BasicScraper):
|
||||||
tagre("img", "src", r'/img/navbar/go_to_previous\.gif'))
|
tagre("img", "src", r'/img/navbar/go_to_previous\.gif'))
|
||||||
help = 'Index format: number'
|
help = 'Index format: number'
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def prevUrlModifier(cls, prevUrl):
|
def prevUrlModifier(cls, prevUrl):
|
||||||
if prevUrl:
|
if prevUrl:
|
||||||
return prevUrl.replace("www.yafgc.net", "yafgc.net")
|
return prevUrl.replace("www.yafgc.net", "yafgc.net")
|
||||||
|
|
Loading…
Reference in a new issue