Added "Ralf the Destroyer"

This commit is contained in:
Helge Stasch 2015-04-21 19:12:40 +02:00
parent 3b33129e58
commit d7e9c8eb94

View file

@ -4,6 +4,7 @@
from re import compile, escape from re import compile, escape
from ..scraper import _BasicScraper from ..scraper import _BasicScraper
from ..scraper import _ParserScraper
from ..helpers import bounceStarter from ..helpers import bounceStarter
from ..util import tagre from ..util import tagre
@ -15,6 +16,14 @@ class RadioactivePanda(_BasicScraper):
prevSearch = compile(r'<a href="(/comic/.*?)".+?previous_btn') prevSearch = compile(r'<a href="(/comic/.*?)".+?previous_btn')
help = 'Index format: n (no padding)' help = 'Index format: n (no padding)'
class RalfTheDestroyer(_ParserScraper):
url = 'http://ralfthedestroyer.com/'
stripUrl = url + '%s/'
css = True
imageSearch = '#comic-1 > a:first-child img'
prevSearch = 'td.comic_navi_left > a:nth-of-type(2)'
help = 'Index format: stripname'
class RealLife(_BasicScraper): class RealLife(_BasicScraper):
url = 'http://reallifecomics.com/' url = 'http://reallifecomics.com/'