Fix TheOrderOfTheStick

This commit is contained in:
Techwolf 2020-03-17 23:40:47 -07:00 committed by Tobias Gruetzmacher
parent 997953f861
commit daf734c53d

View file

@ -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