fixed GoGetARoomie
This commit is contained in:
parent
ceb19ed2bc
commit
a08ad2dc80
1 changed files with 4 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
from re import compile, escape
|
from re import compile, escape
|
||||||
|
|
||||||
from ..scraper import _BasicScraper
|
from ..scraper import _BasicScraper, _ParserScraper
|
||||||
from ..helpers import indirectStarter
|
from ..helpers import indirectStarter
|
||||||
from ..util import tagre
|
from ..util import tagre
|
||||||
|
|
||||||
|
@ -131,12 +131,10 @@ class GoblinsComic(_BasicScraper):
|
||||||
help = 'Index format: ddmmyyyy'
|
help = 'Index format: ddmmyyyy'
|
||||||
|
|
||||||
|
|
||||||
class GoGetARoomie(_BasicScraper):
|
class GoGetARoomie(_ParserScraper):
|
||||||
url = 'http://www.gogetaroomie.com/index.php'
|
url = 'http://www.gogetaroomie.com/index.php'
|
||||||
stripUrl = url + '?id=%s'
|
imageSearch = '//div[@id="cc-comicbody"]//img'
|
||||||
firstStripUrl = stripUrl % '1'
|
prevSearch = '//a[@rel="prev"]'
|
||||||
imageSearch = compile(tagre('img', 'src', r'(comics/[^"]+)'))
|
|
||||||
prevSearch = compile(tagre('a', 'href', r'([^"]+)', after='rel="prev"'))
|
|
||||||
help = 'Index format: nnn'
|
help = 'Index format: nnn'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue