Update for ElGoonishShive and ElGoonishShiveNP (#122)
Strip no longer supports ID numbers after May 21 site revamp per Dan Shive. Code here switched to ComicControl. Tested and verified locally. (fixes #118)
This commit is contained in:
parent
49ec3cc3fa
commit
62d3692d3b
1 changed files with 3 additions and 15 deletions
|
@ -11,7 +11,7 @@ from re import compile, escape, IGNORECASE
|
|||
from ..helpers import indirectStarter, xpath_class
|
||||
from ..scraper import _BasicScraper, _ParserScraper
|
||||
from ..util import tagre
|
||||
from .common import _WordPressScraper, _WPNavi, WP_LATEST_SEARCH
|
||||
from .common import _ComicControlScraper, _WordPressScraper, _WPNavi, WP_LATEST_SEARCH
|
||||
|
||||
|
||||
class EarthsongSaga(_ParserScraper):
|
||||
|
@ -74,24 +74,12 @@ class ElfOnlyInn(_BasicScraper):
|
|||
help = 'Index format: yyyymmdd'
|
||||
|
||||
|
||||
class ElGoonishShive(_BasicScraper):
|
||||
class ElGoonishShive(_ComicControlScraper):
|
||||
url = 'http://www.egscomics.com/'
|
||||
stripUrl = url + 'index.php?id=%s'
|
||||
imageSearch = compile(tagre("img", "src", r'(comics/[^"]+)',
|
||||
after="comic"))
|
||||
prevSearch = compile(tagre("a", "href", r'(/index\.php\?id=\d+)',
|
||||
after="prev"))
|
||||
help = 'Index format: number'
|
||||
|
||||
|
||||
class ElGoonishShiveNP(_BasicScraper):
|
||||
class ElGoonishShiveNP(_ComicControlScraper):
|
||||
url = 'http://www.egscomics.com/egsnp.php'
|
||||
stripUrl = url + '?id=%s'
|
||||
imageSearch = compile(tagre("img", "src", r'(comics/[^"]+)',
|
||||
after="comic"))
|
||||
prevSearch = compile(tagre("a", "href", r'(/egsnp\.php\?id=\d+)',
|
||||
after="prev"))
|
||||
help = 'Index format: number'
|
||||
|
||||
|
||||
class EmergencyExit(_BasicScraper):
|
||||
|
|
Loading…
Reference in a new issue