Merge pull request #11 from Freestila/master

Added "Ralf the Destroyer"
This commit is contained in:
Tobias Gruetzmacher 2015-04-21 23:46:11 +02:00
commit bf9bf5e9b0

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/'