From 24b4d1a391e1d41a2ac35d2cba0c1ac2aa533326 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Sat, 13 Jul 2019 00:22:05 -0700 Subject: [PATCH] Add BeyondTheVeil --- dosagelib/plugins/b.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 2cab54745..806046df4 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -132,6 +132,20 @@ class BetweenFailures(_BasicScraper): help = 'Index format: stripname' +class BeyondTheVeil(_WordPressScraper): + url = 'http://beyondtheveilcomic.com/' + stripUrl = url + '?comic=%s' + firstStripUrl = stripUrl % '01252010' + endOfLife = True + + def namer(self, imageUrl, pageUrl): + # Fix inconsistent filenames + filename = imageUrl.rsplit('/', 1)[-1] + filename = filename.replace('BtV_pg43_bw', '2014-04-25-BtV_pg43_bw') + filename = filename.replace('BtVpg28Ch7b', '2014-07-04-BtVpg28Ch7b') + return filename + + class BiggerThanCheeses(_BasicScraper): url = 'http://www.biggercheese.com/' stripUrl = url + 'index.php?comic=%s'