Fix Moonlace and Bethellium
This commit is contained in:
parent
c29bd2f069
commit
9764b82101
2 changed files with 4 additions and 2 deletions
|
@ -101,8 +101,9 @@ class Beetlebum(_BasicScraper):
|
|||
|
||||
class Bethellium(_WPWebcomic):
|
||||
stripUrl = 'http://dbcomics.darkblueworkshop.com/bethellium/%s/'
|
||||
firstStripUrl = stripUrl % 'chapter-1/webcomic-bethellium-chapter-1-cover'
|
||||
firstStripUrl = stripUrl % 'chapter-1/cover'
|
||||
url = firstStripUrl
|
||||
latestSearch = '//main' + _WPWebcomic.latestSearch
|
||||
starter = indirectStarter
|
||||
|
||||
def getPrevUrl(self, url, data):
|
||||
|
|
|
@ -177,11 +177,12 @@ class Moonlace(_WPWebcomic):
|
|||
stripUrl = 'http://dbcomics.darkblueworkshop.com/moonlace/%s/'
|
||||
firstStripUrl = stripUrl % 'prologue/page-1'
|
||||
url = firstStripUrl
|
||||
latestSearch = '//main' + _WPWebcomic.latestSearch
|
||||
adult = True
|
||||
|
||||
def starter(self):
|
||||
# Set age-gate cookie
|
||||
self.session.get(self.firstStripUrl + '?webcomic_birthday=1')
|
||||
self.session.cookies.set('age_gate', '1', domain='darkblueworkshop.com')
|
||||
return indirectStarter(self)
|
||||
|
||||
def namer(self, imageUrl, pageUrl):
|
||||
|
|
Loading…
Reference in a new issue