From c532f80bcd97c2921b3ede6415001212396c9abb Mon Sep 17 00:00:00 2001 From: Techwolf Date: Thu, 28 Jan 2021 23:46:46 -0800 Subject: [PATCH] Fix ByTheBook --- dosagelib/plugins/b.py | 7 +++++++ dosagelib/plugins/old.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index ee218f9c0..26439137d 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -336,3 +336,10 @@ class ButterSafe(_ParserScraper): imageSearch = '//div[@id="comic"]/img' prevSearch = '//a[@rel="prev"]' help = 'Index format: yyyy/mm/dd/stripname' + + +class ByTheBook(_WordPressScraper): + url = 'http://www.btbcomic.com/' + stripUrl = url + 'comic/%s/' + firstStripUrl = stripUrl % 'chapter-1-page-0' + adult = True diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index a682ed0b8..495b0be46 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -775,7 +775,6 @@ class Removed(Scraper): cls('SmackJeeves/BoogeyDancingMonkeyPot'), cls('SmackJeeves/BreachOfAgency'), cls('SmackJeeves/Burn'), - cls('SmackJeeves/ByTheBook'), cls('SmackJeeves/CafeSuada'), cls('SmackJeeves/Cambion'), cls('SmackJeeves/CaptiveSoul'), @@ -1424,6 +1423,7 @@ class Renamed(Scraper): cls('GoComics/WebcomicName', 'WebcomicName'), cls('Shivae/BlackRose', 'BlackRose'), cls('SmackJeeves/BlackTapestries', 'ComicFury/BlackTapestries'), + cls('SmackJeeves/ByTheBook', 'ByTheBook'), cls('SmackJeeves/FurryExperience', 'ComicFury/FurryExperience'), cls('SmackJeeves/GrowingTroubles', 'ComicFury/GrowingTroubles'), cls('SmackJeeves/TheRealmOfKaerwyn', 'ComicFury/TheRealmOfKaerwyn'),