feat: added Leif and Thorn, A Miracle of Science, and Afterlife Blues

This commit is contained in:
D. Moonfire 2024-08-19 23:15:01 -05:00
parent d0bd27243f
commit 067dba7c75
3 changed files with 30 additions and 1 deletions

View file

@ -80,6 +80,16 @@ class AdventuresOfFifne(_ParserScraper):
return super(AdventuresOfFifne, self).getPrevUrl(url, data)
class AfterlifeBlues(ParserScraper):
baseUrl = 'https://project-apollo.net/'
url = baseUrl + 'ab/ab213.html'
firstStripUrl = baseUrl + 'mos/ab000.html'
imageSearch = '//img[contains(@src, "manga/")]'
prevSearch = '//a[img/@alt="Previous Page"]'
nextSearch = '//a[img/@alt="Next Page"]'
endOfLife = True
class AfterStrife(WordPressNavi):
baseUrl = 'http://afterstrife.com/'
stripUrl = baseUrl + '?p=%s'
@ -252,6 +262,16 @@ class AmbersNoBrainers(_ParserScraper):
return self.stripUrl % str(pageNum - 1)
class AMiracleOfScience(ParserScraper):
baseUrl = 'https://project-apollo.net/'
url = baseUrl + 'mos/mos435.html'
firstStripUrl = baseUrl + 'mos/mos000.html'
imageSearch = '//img[contains(@src, "manga/")]'
prevSearch = '//a[img/@alt="Previous Page"]'
nextSearch = '//a[img/@alt="Next Page"]'
endOfLife = True
class Amya(WordPressScraper):
url = 'http://www.amyachronicles.com/'

View file

@ -54,6 +54,16 @@ class LeastICouldDo(ParserScraper):
help = 'Index format: yyyymmdd'
class LeifAndThorn(ParserScraper):
url = 'https://leifandthorn.com/'
stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % 'magical-comic-lyrical-test-post'
imageSearch = '//img[d:class("attachment-full")]'
prevSearch = '//a[d:class("previous-webcomic-link")]'
nextSearch = '//a[d:class("next-webcomic-link")]'
starter = bounceStarter
class LetsSpeakEnglish(ComicControlScraper):
url = 'http://www.marycagle.com'

View file

@ -19,7 +19,6 @@
{
devShells.default = pkgs.mkShell {
buildInputs = [
pkgs.cowsay
pkgs.alejandra
pkgs.python310Full
];