Fix some more SmackJeeves modules.

This commit is contained in:
Tobias Gruetzmacher 2016-04-22 01:04:47 +02:00
parent fd85c8583a
commit 8ddf553eb4
2 changed files with 6 additions and 75 deletions

View file

@ -18,6 +18,7 @@ class _SmackJeeves(_ParserScraper):
prevSearch = ( prevSearch = (
'//a[@class="nav-prev"]' + ONLY_COMICS, '//a[@class="nav-prev"]' + ONLY_COMICS,
'//a[img[re:test(@alt, "prev", "i")]]' + ONLY_COMICS, '//a[img[re:test(@alt, "prev", "i")]]' + ONLY_COMICS,
'//a[img[re:test(@src, "/(prev|back)")]]' + ONLY_COMICS,
'//a[re:test(@title, "previous", "i")]' + ONLY_COMICS, '//a[re:test(@title, "previous", "i")]' + ONLY_COMICS,
'//a[re:test(text(), "prev|back", "i")]' + ONLY_COMICS, '//a[re:test(text(), "prev|back", "i")]' + ONLY_COMICS,
'//select[@class="jumpbox"]/preceding::a[1]' + ONLY_COMICS, '//select[@class="jumpbox"]/preceding::a[1]' + ONLY_COMICS,
@ -26,6 +27,7 @@ class _SmackJeeves(_ParserScraper):
nextSearch = ( nextSearch = (
'//a[@class="nav-next"]' + ONLY_COMICS, '//a[@class="nav-next"]' + ONLY_COMICS,
'//a[img[re:test(@alt, "next", "i")]]' + ONLY_COMICS, '//a[img[re:test(@alt, "next", "i")]]' + ONLY_COMICS,
'//a[img[re:test(@src, "/next", "i")]]' + ONLY_COMICS,
'//a[re:test(@title, "next", "i")]' + ONLY_COMICS, '//a[re:test(@title, "next", "i")]' + ONLY_COMICS,
'//a[re:test(text(), "next", "i")]' + ONLY_COMICS, '//a[re:test(text(), "next", "i")]' + ONLY_COMICS,
'//select[@class="jumpbox"]/following::a[1]' + ONLY_COMICS, '//select[@class="jumpbox"]/following::a[1]' + ONLY_COMICS,
@ -35,6 +37,7 @@ class _SmackJeeves(_ParserScraper):
'//img[@id="comic_image"]', '//img[@id="comic_image"]',
'//div[@id="comic-image"]//img', '//div[@id="comic-image"]//img',
'//img[@id="comic"]', '//img[@id="comic"]',
'//div[@id="comicset"]/object/param[@name="movie"]/@value',
) )
@property @property
@ -848,11 +851,6 @@ class SJFatetheAnthologyofKaienandhisfuckingmagicfriends(_SmackJeeves):
sub = 'fatehoho' sub = 'fatehoho'
class SJFeathersPI(_SmackJeeves):
sub = 'featherpi'
adult = True
class SJFemmeSchism(_SmackJeeves): class SJFemmeSchism(_SmackJeeves):
sub = 'femmeschism' sub = 'femmeschism'
@ -865,10 +863,6 @@ class SJFinalArcanum(_SmackJeeves):
sub = 'finalarcanum' sub = 'finalarcanum'
class SJFireWire(_SmackJeeves):
sub = 'firewire'
class SJFireredLisasReise(_SmackJeeves): class SJFireredLisasReise(_SmackJeeves):
sub = 'lisasreise' sub = 'lisasreise'
@ -928,10 +922,6 @@ class SJFurtherDowntheRabbitHole(_SmackJeeves):
adult = True adult = True
class SJGATEKEEPER(_SmackJeeves):
sub = 'gatekeepercomic'
class SJGamerCafe(_SmackJeeves): class SJGamerCafe(_SmackJeeves):
sub = 'gamercafe' sub = 'gamercafe'
@ -952,10 +942,6 @@ class SJGayTimesWithRyanandJay(_SmackJeeves):
sub = 'gtwraj' sub = 'gtwraj'
class SJGearTheTakedown(_SmackJeeves):
sub = 'geartd'
class SJGetUpandGo(_SmackJeeves): class SJGetUpandGo(_SmackJeeves):
sub = 'getupandgo' sub = 'getupandgo'
adult = True adult = True
@ -1020,10 +1006,6 @@ class SJHabibahssong(_SmackJeeves):
sub = 'habibahsong' sub = 'habibahsong'
class SJHarfang(_SmackJeeves):
sub = 'harfang'
class SJHarvestMoonParadiseFound(_SmackJeeves): class SJHarvestMoonParadiseFound(_SmackJeeves):
sub = 'paradisefound' sub = 'paradisefound'
@ -1113,10 +1095,6 @@ class SJIciVontLesMorts(_SmackJeeves):
adult = True adult = True
class SJImminentMoose(_SmackJeeves):
sub = 'imminentmoose'
class SJInHouseHumor(_SmackJeeves): class SJInHouseHumor(_SmackJeeves):
sub = 'inhousehumor' sub = 'inhousehumor'
@ -1141,10 +1119,6 @@ class SJInspiredByADream(_SmackJeeves):
sub = 'inspiredbyadream' sub = 'inspiredbyadream'
class SJInthePride(_SmackJeeves):
sub = 'in-the-pride'
class SJIntoxicated(_SmackJeeves): class SJIntoxicated(_SmackJeeves):
sub = 'intoxicated' sub = 'intoxicated'
adult = True adult = True
@ -1263,10 +1237,6 @@ class SJKissoftheDevil(_SmackJeeves):
sub = 'kissofthedevil' sub = 'kissofthedevil'
class SJKnife(_SmackJeeves):
sub = 'knife'
class SJKnightface(_SmackJeeves): class SJKnightface(_SmackJeeves):
sub = 'knightface' sub = 'knightface'
adult = True adult = True
@ -1280,10 +1250,6 @@ class SJKojiX5(_SmackJeeves):
sub = 'kojix5' sub = 'kojix5'
class SJKranburn(_SmackJeeves):
host = 'kranburn.thewebcomic.com'
class SJKreetor(_SmackJeeves): class SJKreetor(_SmackJeeves):
sub = 'kreetor' sub = 'kreetor'
@ -1427,10 +1393,6 @@ class SJLoveMeLoveMyTeddyBear(_SmackJeeves):
sub = 'teddybear' sub = 'teddybear'
class SJLoveTwister(_SmackJeeves):
sub = 'lovetwister'
class SJLoveandIcecream(_SmackJeeves): class SJLoveandIcecream(_SmackJeeves):
sub = 'lovexandxicecream' sub = 'lovexandxicecream'
@ -1528,10 +1490,6 @@ class SJMegaManTales(_SmackJeeves):
sub = 'megamantales' sub = 'megamantales'
class SJMegaManiacs(_SmackJeeves):
sub = 'megamaniacscomics'
class SJMegaPain(_SmackJeeves): class SJMegaPain(_SmackJeeves):
sub = 'megapain' sub = 'megapain'
@ -1549,10 +1507,6 @@ class SJMetroJack(_SmackJeeves):
adult = True adult = True
class SJMewsDynasty(_SmackJeeves):
sub = 'mews-dynasty'
class SJMidnightPrince(_SmackJeeves): class SJMidnightPrince(_SmackJeeves):
sub = 'midnightprince' sub = 'midnightprince'
@ -1589,10 +1543,6 @@ class SJMokepon(_SmackJeeves):
sub = 'mokepon' sub = 'mokepon'
class SJMomthegamestorerippedusoffAGAIN(_SmackJeeves):
sub = 'crappygames'
class SJMonstar(_SmackJeeves): class SJMonstar(_SmackJeeves):
host = 'monstar.thewebcomic.com' host = 'monstar.thewebcomic.com'
@ -1601,10 +1551,6 @@ class SJMoonValley(_SmackJeeves):
sub = 'moonvalley' sub = 'moonvalley'
class SJMoonlitDawnAMythicalTale(_SmackJeeves):
sub = 'moonlitdawn'
class SJMorphE(_SmackJeeves): class SJMorphE(_SmackJeeves):
host = 'morphe.thewebcomic.com' host = 'morphe.thewebcomic.com'
@ -1729,10 +1675,6 @@ class SJOctober20th(_SmackJeeves):
host = 'www.october20comic.com' host = 'www.october20comic.com'
class SJOddContact(_SmackJeeves):
sub = 'oddcontact'
class SJOddPlaceOddTime(_SmackJeeves): class SJOddPlaceOddTime(_SmackJeeves):
sub = 'oddplaceoddtime' sub = 'oddplaceoddtime'
@ -1745,10 +1687,6 @@ class SJOldElastikid(_SmackJeeves):
sub = 'oldelastikid' sub = 'oldelastikid'
class SJOneFrameGags(_SmackJeeves):
sub = 'oneframegags'
class SJOneRainyDay(_SmackJeeves): class SJOneRainyDay(_SmackJeeves):
sub = 'one-rainy-day' sub = 'one-rainy-day'
adult = True adult = True
@ -1779,7 +1717,7 @@ class SJOutofKey(_SmackJeeves):
class SJOverSync(_SmackJeeves): class SJOverSync(_SmackJeeves):
sub = 'linearperspective' sub = 'oversync'
class SJPMDExplorersofHeart(_SmackJeeves): class SJPMDExplorersofHeart(_SmackJeeves):
@ -1794,10 +1732,6 @@ class SJPMDVictoryFire(_SmackJeeves):
sub = 'victoryfire' sub = 'victoryfire'
class SJPRAGUERACE(_SmackJeeves):
sub = 'praguerace'
class SJPTO(_SmackJeeves): class SJPTO(_SmackJeeves):
sub = 'pto' sub = 'pto'
adult = True adult = True
@ -1887,7 +1821,7 @@ class SJPokemonGleamingCrystal(_SmackJeeves):
class SJPokemonLANDSKY(_SmackJeeves): class SJPokemonLANDSKY(_SmackJeeves):
host = 'www.landxsky.com' sub = 'landsky'
class SJPokemonMysteryDungeonTeamCrystal(_SmackJeeves): class SJPokemonMysteryDungeonTeamCrystal(_SmackJeeves):
@ -2027,10 +1961,6 @@ class SJRyuManwebcomicversion(_SmackJeeves):
sub = 'ryuman-web' sub = 'ryuman-web'
class SJSAKANA(_SmackJeeves):
sub = 'sakana'
class SJSChIzO(_SmackJeeves): class SJSChIzO(_SmackJeeves):
sub = 'schizophrenic' sub = 'schizophrenic'

View file

@ -84,6 +84,7 @@ class SmackJeevesUpdater(ComicListUpdater):
# images are 403 forbidden # images are 403 forbidden
"AngelJunkPileFelix", "AngelJunkPileFelix",
"AntavioussGenLab", "AntavioussGenLab",
"Harfang",
"Okamirai", "Okamirai",
# missing images # missing images