2020-04-18 11:45:44 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
2016-10-28 22:21:41 +00:00
|
|
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
2016-05-20 23:18:42 +00:00
|
|
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
2022-06-06 10:08:32 +00:00
|
|
|
# Copyright (C) 2015-2022 Tobias Gruetzmacher
|
|
|
|
from ..scraper import ParserScraper
|
2015-06-01 00:14:52 +00:00
|
|
|
|
|
|
|
|
2022-06-06 10:08:32 +00:00
|
|
|
class KindOfNormal(ParserScraper):
|
2016-05-20 23:18:42 +00:00
|
|
|
imageSearch = '//article[1]//div[@class="box-content"]//img'
|
|
|
|
prevSearch = '//a[@class="prev"]'
|
|
|
|
|
|
|
|
def __init__(self, name, url):
|
|
|
|
super(KindOfNormal, self).__init__(name)
|
2016-10-30 14:28:54 +00:00
|
|
|
self.url = 'http://wumo.com/' + url
|
2016-05-20 23:18:42 +00:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def getmodules(cls):
|
2016-10-30 14:28:54 +00:00
|
|
|
return (
|
2016-05-20 23:18:42 +00:00
|
|
|
cls('MeAndDanielle', 'meanddanielle'),
|
|
|
|
cls('TruthFacts', 'truthfacts'),
|
|
|
|
cls('Wumo', 'wumo'),
|
2016-10-30 14:28:54 +00:00
|
|
|
)
|