mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-23 01:04:44 +01:00
adapter_webnovelcom - use_pagecache - mostly for debugging.
This commit is contained in:
parent
0a97a55467
commit
ae68c7997b
1 changed files with 7 additions and 0 deletions
|
|
@ -87,6 +87,13 @@ class WWWWebNovelComAdapter(BaseSiteAdapter):
|
|||
def getSiteURLPattern(self):
|
||||
return r'https://' + re.escape(self.getSiteDomain()) + r'/book/*(?P<id>\d+)'
|
||||
|
||||
def use_pagecache(self):
|
||||
'''
|
||||
adapters that will work with the page cache need to implement
|
||||
this and change it to True.
|
||||
'''
|
||||
return True
|
||||
|
||||
# Getting the chapter list and the meta data, plus 'is adult' checking.
|
||||
def doExtractChapterUrlsAndMetadata(self, get_cover=True):
|
||||
url = self.url
|
||||
|
|
|
|||
Loading…
Reference in a new issue