adapter_webnovelcom - use_pagecache - mostly for debugging.

This commit is contained in:
Jim Miller 2018-05-02 17:25:18 -05:00
parent 0a97a55467
commit ae68c7997b

View file

@ -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