Fix TheWhiteboard

This commit is contained in:
Techwolf 2020-03-18 00:00:33 -07:00 committed by Tobias Gruetzmacher
parent 92f02ce660
commit 4d1a0d9ad3

View file

@ -190,6 +190,12 @@ class TheWhiteboard(_ParserScraper):
data = self.BROKEN_PAGE_MIDDLE.sub('<', data) data = self.BROKEN_PAGE_MIDDLE.sub('<', data)
return super(TheWhiteboard, self)._parse_page(data) return super(TheWhiteboard, self)._parse_page(data)
def imageUrlModifier(self, url, data):
return self.url + url
def link_modifier(self, fromurl, tourl):
return self.url + tourl
class TheWotch(_WordPressScraper): class TheWotch(_WordPressScraper):
url = 'http://www.thewotch.com/' url = 'http://www.thewotch.com/'