Fix TheOrderOfTheStick
This commit is contained in:
parent
997953f861
commit
daf734c53d
1 changed files with 5 additions and 5 deletions
|
@ -153,13 +153,13 @@ class TheOldVictorian(_ParserScraper):
|
||||||
return filename
|
return filename
|
||||||
|
|
||||||
|
|
||||||
class TheOrderOfTheStick(_BasicScraper):
|
class TheOrderOfTheStick(_ParserScraper):
|
||||||
url = 'http://www.giantitp.com/'
|
url = 'https://www.giantitp.com/'
|
||||||
stripUrl = url + 'comics/oots%s.html'
|
stripUrl = url + 'comics/oots%s.html'
|
||||||
firstStripUrl = stripUrl % '0001'
|
firstStripUrl = stripUrl % '0001'
|
||||||
imageSearch = compile(r'<IMG src="(/comics/images/[^"]+)">')
|
imageSearch = '//img[contains(@src, "/comics/oots/")]'
|
||||||
prevSearch = compile(r'<A href="(/comics/oots\d{4}\.html)"><IMG src="/Images/redesign/ComicNav_Back.gif"')
|
prevSearch = '//a[./img[@alt="Previous Comic"]]'
|
||||||
latestSearch = compile(r'<A href="(/comics/oots\d{4}\.html)"')
|
latestSearch = '//a[@class="SideBar" and contains(@href, "/comics/oots")]'
|
||||||
help = 'Index format: n (unpadded)'
|
help = 'Index format: n (unpadded)'
|
||||||
starter = indirectStarter
|
starter = indirectStarter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue