Fix AlphaLuna
This commit is contained in:
parent
6cfde34663
commit
c9e3923442
1 changed files with 12 additions and 14 deletions
|
@ -146,24 +146,22 @@ class AllTheGrowingThings(_BasicScraper):
|
||||||
help = 'Index format: yyyy/mm/dd/strip-name'
|
help = 'Index format: yyyy/mm/dd/strip-name'
|
||||||
|
|
||||||
|
|
||||||
class AlphaLuna(_BasicScraper):
|
class AlphaLuna(_ParserScraper):
|
||||||
url = 'http://www.alphaluna.net/'
|
url = 'https://alphaluna.net/'
|
||||||
stripUrl = url + 'issue-%s/'
|
stripUrl = url + 'comic/%s/'
|
||||||
firstStripUrl = stripUrl % '1/cover'
|
firstStripUrl = stripUrl % 'issue-1-cover'
|
||||||
imageSearch = compile(tagre("a", "href",
|
imageSearch = '//main[@id="comic"]//img'
|
||||||
r'[^"]*/(?:issue-|support/upcoming)[^"]+') +
|
prevSearch = '//a[@rel="prev"]'
|
||||||
tagre("img", "src", r'([^"]*/PAGINAS/[^"]+)'))
|
|
||||||
prevSearch = compile(tagre("a", "href", r'([^"]+)') +
|
|
||||||
tagre("img", "alt", "Prev"))
|
|
||||||
help = 'Index format: issue/page (e.g. 4/05)'
|
|
||||||
|
|
||||||
|
|
||||||
class AlphaLunaSpanish(AlphaLuna):
|
class AlphaLunaSpanish(_ParserScraper):
|
||||||
name = 'AlphaLuna/Spanish'
|
name = 'AlphaLuna/Spanish'
|
||||||
lang = 'es'
|
lang = 'es'
|
||||||
url = 'http://alphaluna.net/spanish/'
|
url = 'https://alphaluna.net/spanish/'
|
||||||
stripUrl = url + 'issue-%s/'
|
stripUrl = url + 'comic/%s/'
|
||||||
firstStripUrl = stripUrl % '1/portada'
|
firstStripUrl = stripUrl % 'issue-1-cover'
|
||||||
|
imageSearch = '//main[@id="comic"]//img'
|
||||||
|
prevSearch = '//a[@rel="prev"]'
|
||||||
|
|
||||||
|
|
||||||
class Altermeta(_ParserScraper):
|
class Altermeta(_ParserScraper):
|
||||||
|
|
Loading…
Reference in a new issue