diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index 0a8c4ff0d..f46c9b3f1 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -234,6 +234,11 @@ class Annyseed(_ParserScraper): def imageUrlModifier(self, image_url, data): return self.FIX_RE.sub('', image_url) + def link_modifier(self, fromurl, tourl): + """Fix circular link.""" + if 'Annyseed150' in fromurl and 'Annyseed150' in tourl: + return self.stripUrl % '149' + return tourl class AppleGeeks(_BasicScraper): url = 'http://www.applegeeks.com/' @@ -257,7 +262,7 @@ class ARedTailsDream(_BasicScraper): class Ashes(_WordPressScraper): - url = 'http://www.flowerlarkstudios.com/comic/prologue/10232009/' + url = 'http://www.flowerlarkstudios.com/comicpage/prologue/10232009/' firstStripUrl = url latestSearch = WP_LATEST_SEARCH starter = indirectStarter diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 8c65eaaf1..8afed908d 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -54,9 +54,9 @@ class Baroquen(_BasicScraper): class Bearmageddon(_WordPressScraper): - url = 'http://bearmageddon.com/' - firstStripUrl = url + '2011/08/01/page-1/' - latestSearch = '//a[div[%s]]' % xpath_class('latest-page') + url = 'http://bearmageddon.com/bearmo/page-1/' + firstStripUrl = url + latestSearch = '//a[%s]' % xpath_class('comic-nav-last') starter = indirectStarter diff --git a/dosagelib/plugins/e.py b/dosagelib/plugins/e.py index ba6aea2f0..baa840abc 100644 --- a/dosagelib/plugins/e.py +++ b/dosagelib/plugins/e.py @@ -28,7 +28,7 @@ class EarthsongSaga(_ParserScraper): class EasilyAmused(_WordPressScraper): - url = 'http://www.flowerlarkstudios.com/comic/college-daze/ea01/' + url = 'http://www.flowerlarkstudios.com/comicpage/college-daze/ea01/' firstStripUrl = url latestSearch = WP_LATEST_SEARCH starter = indirectStarter @@ -117,7 +117,7 @@ class Erstwhile(_WPNavi): class Eryl(_WordPressScraper): - url = 'http://www.flowerlarkstudios.com/comic/prologue-migration/page-i/' + url = 'http://www.flowerlarkstudios.com/comicpage/prologue-migration/page-i/' firstStripUrl = url latestSearch = WP_LATEST_SEARCH starter = indirectStarter diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 23355e157..44e5275c1 100644 --- a/dosagelib/plugins/l.py +++ b/dosagelib/plugins/l.py @@ -35,7 +35,7 @@ class Lackadaisy(_BasicScraper): class Laiyu(_WordPressScraper): - url = 'http://www.flowerlarkstudios.com/comic/preliminary-concepts/welcome/' + url = 'http://www.flowerlarkstudios.com/comicpage/preliminary-concepts/welcome/' firstStripUrl = url latestSearch = WP_LATEST_SEARCH starter = indirectStarter diff --git a/dosagelib/plugins/n.py b/dosagelib/plugins/n.py index 7e0bca625..01f83993d 100644 --- a/dosagelib/plugins/n.py +++ b/dosagelib/plugins/n.py @@ -108,7 +108,7 @@ class NobodyScores(_BasicScraper): class NoMoreSavePoints(_WordPressScraper): - url = 'http://www.flowerlarkstudios.com/comic/no-more-save-points/mushroom-hopping/' + url = 'http://www.flowerlarkstudios.com/comicpage/no-more-save-points/mushroom-hopping/' firstStripUrl = url latestSearch = WP_LATEST_SEARCH starter = indirectStarter