Fix Newshounds & ProjectionEdge split
This commit is contained in:
parent
5da87d5a66
commit
63da9dd0d4
3 changed files with 17 additions and 2 deletions
|
@ -74,7 +74,6 @@ class KeenSpot(_ParserScraper):
|
|||
cls('HeadTrip', 'headtrip'),
|
||||
cls('HeroByNight', 'herobynight'),
|
||||
cls('HoaxHunters', 'hoaxhunters'),
|
||||
cls('InfinityRefugees', 'newshounds'),
|
||||
cls('InHere', 'inhere'),
|
||||
cls('JadeWarriors', 'jadewarriors'),
|
||||
cls('Katrina', 'katrina'),
|
||||
|
@ -90,6 +89,7 @@ class KeenSpot(_ParserScraper):
|
|||
cls('NoRoomForMagic', 'noroomformagic'),
|
||||
cls('OutThere', 'outthere'),
|
||||
cls('Porcelain', 'porcelain'),
|
||||
cls('ProjectionEdge', 'newshounds'),
|
||||
cls('PunchAnPie', 'punchanpie', path='daily/%s.html'),
|
||||
cls('QUILTBAG', 'quiltbag'),
|
||||
cls('RedSpike', 'redspike'),
|
||||
|
|
|
@ -73,6 +73,21 @@ class NerfNow(_WordPressScraper):
|
|||
prevSearch = '//li[@id="nav_previous"]/a'
|
||||
|
||||
|
||||
class Newshounds(_ParserScraper):
|
||||
stripUrl = 'http://www.newshounds.com/%s.html'
|
||||
url = stripUrl % 'nh2/20140929'
|
||||
firstStripUrl = stripUrl % 'nh1/19971101'
|
||||
imageSearch = '//img[@class="ksc"]'
|
||||
prevSearch = '//a[./img[@alt="Previous comic"]]'
|
||||
endOfLife = True
|
||||
|
||||
def getPrevUrl(self, url, data):
|
||||
# Add navigation link between comic and graphic novel
|
||||
if url == self.stripUrl % 'nh2/20070201':
|
||||
return self.stripUrl % 'nh1/20061208'
|
||||
return super().getPrevUrl(url, data)
|
||||
|
||||
|
||||
class NewWorld(_BasicScraper):
|
||||
url = 'http://www.tfsnewworld.com/'
|
||||
stripUrl = url + '%s/'
|
||||
|
|
|
@ -706,7 +706,7 @@ class Renamed(Scraper):
|
|||
cls('KeenSpot/AntiheroForHire', 'AntiheroForHire'),
|
||||
cls('KeenSpot/ElGoonishShive', 'ElGoonishShive'),
|
||||
cls('KeenSpot/ElGoonishShiveNP', 'ElGoonishShiveNP'),
|
||||
cls('KeenSpot/Newshounds', 'KeenSpot/InfinityRefugees'),
|
||||
cls('KeenSpot/Newshounds', 'Newshounds'),
|
||||
cls('KeenSpot/SinFest', 'SinFest'),
|
||||
cls('KeenSpot/TheGodChild', 'GodChild'),
|
||||
cls('PetiteSymphony/Djandora', 'ComicsBreak/Djandora'),
|
||||
|
|
Loading…
Reference in a new issue