Add a few new comics
This commit is contained in:
parent
7a135c7c93
commit
e86526f21a
4 changed files with 24 additions and 3 deletions
|
@ -27,10 +27,12 @@ class ComicFury(_ParserScraper):
|
||||||
u'//nav//a[contains(text(), "\u2039")]',
|
u'//nav//a[contains(text(), "\u2039")]',
|
||||||
# LatchkeyKingdom
|
# LatchkeyKingdom
|
||||||
'//a[d:class("navi") and img[contains(@src, "Previous")]]',
|
'//a[d:class("navi") and img[contains(@src, "Previous")]]',
|
||||||
# RedSpot
|
|
||||||
'//a[contains(text(), "Back")]',
|
|
||||||
# KATRAN
|
# KATRAN
|
||||||
'//a[contains(text(), "Previous")]',
|
'//a[contains(text(), "Previous")]',
|
||||||
|
# MansionofE
|
||||||
|
'//a[img[contains(@alt, "PREVIOUS")]]',
|
||||||
|
# RedSpot
|
||||||
|
'//a[contains(text(), "Back")]',
|
||||||
)
|
)
|
||||||
nextSearch = (
|
nextSearch = (
|
||||||
'//link[@rel="next"]',
|
'//link[@rel="next"]',
|
||||||
|
@ -45,6 +47,8 @@ class ComicFury(_ParserScraper):
|
||||||
'//a[d:class("navi") and img[contains(@src, "Next")]]',
|
'//a[d:class("navi") and img[contains(@src, "Next")]]',
|
||||||
# RedSpot, KATRAN
|
# RedSpot, KATRAN
|
||||||
'//a[contains(text(), "Next")]',
|
'//a[contains(text(), "Next")]',
|
||||||
|
# MansionofE
|
||||||
|
'//a[img[contains(@alt, "NEXT")]]',
|
||||||
)
|
)
|
||||||
help = 'Index format: n'
|
help = 'Index format: n'
|
||||||
starter = bounceStarter
|
starter = bounceStarter
|
||||||
|
@ -969,6 +973,7 @@ class ComicFury(_ParserScraper):
|
||||||
cls('TheLegendaryPixelCrew', 'thelegendarypixelcrew'),
|
cls('TheLegendaryPixelCrew', 'thelegendarypixelcrew'),
|
||||||
cls('TheLegendOfLink', 'legendoflink'),
|
cls('TheLegendOfLink', 'legendoflink'),
|
||||||
cls('TheLozoyas', 'thelozoyas'),
|
cls('TheLozoyas', 'thelozoyas'),
|
||||||
|
cls('TheMansionofE', 'mansionofe'),
|
||||||
cls('TheMates', 'themates'),
|
cls('TheMates', 'themates'),
|
||||||
cls('TheMatesPortugus', 'matespt', 'pt'),
|
cls('TheMatesPortugus', 'matespt', 'pt'),
|
||||||
cls('TheMeaningOfLife', 'themeaningoflife'),
|
cls('TheMeaningOfLife', 'themeaningoflife'),
|
||||||
|
|
|
@ -105,6 +105,13 @@ class RedMeat(_ParserScraper):
|
||||||
return '_'.join(parts[1:3])
|
return '_'.join(parts[1:3])
|
||||||
|
|
||||||
|
|
||||||
|
class Requiem(_WordPressScraper):
|
||||||
|
baseUrl = 'http://requiem.spiderforest.com/'
|
||||||
|
url = baseUrl + '?latest'
|
||||||
|
stripUrl = baseUrl + 'comic/%s'
|
||||||
|
firstStripUrl = stripUrl % '2004-06-07-3'
|
||||||
|
|
||||||
|
|
||||||
class Replay(_ParserScraper):
|
class Replay(_ParserScraper):
|
||||||
url = 'http://replaycomic.com/'
|
url = 'http://replaycomic.com/'
|
||||||
stripUrl = url + 'comic/%s/'
|
stripUrl = url + 'comic/%s/'
|
||||||
|
|
|
@ -358,12 +358,14 @@ class WebToons(_ParserScraper):
|
||||||
cls('StrawberrySeafoam', 'fantasy/strawberry-seafoam', 1248),
|
cls('StrawberrySeafoam', 'fantasy/strawberry-seafoam', 1248),
|
||||||
cls('SubtleDisaster', 'drama/subtle-disaster', 350),
|
cls('SubtleDisaster', 'drama/subtle-disaster', 350),
|
||||||
cls('SubZero', 'romance/subzero', 1468),
|
cls('SubZero', 'romance/subzero', 1468),
|
||||||
|
cls('SuitorArmor', 'fantasy/suitor-armor', 2159),
|
||||||
cls('SuperSecret', 'romance/super-secret', 666),
|
cls('SuperSecret', 'romance/super-secret', 666),
|
||||||
cls('SupersonicGirl', 'super-hero/supersonic-girl', 633),
|
cls('SupersonicGirl', 'super-hero/supersonic-girl', 633),
|
||||||
cls('SweetHome', 'thriller/sweethome', 1285),
|
cls('SweetHome', 'thriller/sweethome', 1285),
|
||||||
cls('SwimmingLessonsForAMermaid', 'romance/swimming-lessons-for-a-mermaid', 1912),
|
cls('SwimmingLessonsForAMermaid', 'romance/swimming-lessons-for-a-mermaid', 1912),
|
||||||
cls('SwordInterval', 'supernatural/sword-interval', 486),
|
cls('SwordInterval', 'supernatural/sword-interval', 486),
|
||||||
cls('TalesOfTheUnusual', 'horror/tales-of-the-unusual', 68),
|
cls('TalesOfTheUnusual', 'horror/tales-of-the-unusual', 68),
|
||||||
|
cls('TheAdvancedPlayerOfTheTutorialTower', 'action/the-advanced-player-of-the-tutorial-tower', 2409),
|
||||||
cls('TheBadguys', 'super-hero/the-bad-guys', 701),
|
cls('TheBadguys', 'super-hero/the-bad-guys', 701),
|
||||||
cls('TheBrooklynite', 'super-hero/the-brooklynite', 813),
|
cls('TheBrooklynite', 'super-hero/the-brooklynite', 813),
|
||||||
cls('TheCliff', 'thriller/the-cliff', 80),
|
cls('TheCliff', 'thriller/the-cliff', 80),
|
||||||
|
@ -409,6 +411,7 @@ class WebToons(_ParserScraper):
|
||||||
cls('UndeadEd', 'supernatural/undeaded', 468),
|
cls('UndeadEd', 'supernatural/undeaded', 468),
|
||||||
cls('UnderPrin', 'supernatural/underprin', 78),
|
cls('UnderPrin', 'supernatural/underprin', 78),
|
||||||
cls('UnderTheAegis', 'fantasy/under-the-aegis', 436),
|
cls('UnderTheAegis', 'fantasy/under-the-aegis', 436),
|
||||||
|
cls('UnholyBlood', 'supernatural/unholy-blood', 1262),
|
||||||
cls('UnknownCaller', 'thriller/ar-toon', 775),
|
cls('UnknownCaller', 'thriller/ar-toon', 775),
|
||||||
cls('UnlovableReplacement', 'romance/unlovable-replacement', 1762),
|
cls('UnlovableReplacement', 'romance/unlovable-replacement', 1762),
|
||||||
cls('UnluckyIsAsLuckyDoes', 'comedy/unlucky-is-as-lucky-does', 1554),
|
cls('UnluckyIsAsLuckyDoes', 'comedy/unlucky-is-as-lucky-does', 1554),
|
||||||
|
|
|
@ -7,8 +7,14 @@ from .common import _WordPressScraper, _WPWebcomic
|
||||||
|
|
||||||
|
|
||||||
class YAFGC(_WordPressScraper):
|
class YAFGC(_WordPressScraper):
|
||||||
url = 'http://yafgc.net/'
|
baseUrl = 'https://www.yafgc.net/'
|
||||||
|
url = baseUrl + '?latest'
|
||||||
|
stripUrl = baseUrl + 'comic/%s'
|
||||||
|
firstStripUrl = stripUrl % 'bob-meets-gren'
|
||||||
|
|
||||||
|
def __init__(self, name):
|
||||||
|
super().__init__(name)
|
||||||
|
self.session.add_throttle('www.yafgc.net', 3.0, 15.5)
|
||||||
|
|
||||||
class YoshSaga(_WPWebcomic):
|
class YoshSaga(_WPWebcomic):
|
||||||
url = 'https://www.yoshsaga.com/'
|
url = 'https://www.yoshsaga.com/'
|
||||||
|
|
Loading…
Reference in a new issue