Use ComicControlScraper for SandraOnTheRocks (fixes #221)
This commit is contained in:
parent
29d5f755f0
commit
014df0f0bb
1 changed files with 6 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
||||||
# Copyright (C) 2012-2014 Bastian Kleineidam
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
||||||
# Copyright (C) 2015-2021 Tobias Gruetzmacher
|
# Copyright (C) 2015-2022 Tobias Gruetzmacher
|
||||||
# Copyright (C) 2019-2020 Daniel Ring
|
# Copyright (C) 2019-2020 Daniel Ring
|
||||||
from re import compile, escape, IGNORECASE, sub
|
from re import compile, escape, IGNORECASE, sub
|
||||||
from os.path import splitext
|
from os.path import splitext
|
||||||
|
@ -58,12 +58,11 @@ class SamAndFuzzy(_ParserScraper):
|
||||||
help = 'Index format: n (unpadded)'
|
help = 'Index format: n (unpadded)'
|
||||||
|
|
||||||
|
|
||||||
class SandraOnTheRocks(_BasicScraper):
|
class SandraOnTheRocks(_ComicControlScraper):
|
||||||
url = 'http://www.sandraontherocks.com/'
|
url = 'https://pixietrixcomix.com/sandra-on-the-rocks/'
|
||||||
stripUrl = url + 'strips-sotr/%s'
|
stripUrl = url + '%s'
|
||||||
firstStripUrl = stripUrl % 'start_by_running'
|
firstStripUrl = stripUrl % 'start-by-running'
|
||||||
imageSearch = compile(tagre("img", "src", r'([^"]*/comics/[^"]+)'))
|
endOfLife = True
|
||||||
prevSearch = compile(tagre("a", "href", r'([^"]*/strips-sotr/[^"]+)', before="cn[id]prev"))
|
|
||||||
help = 'Index format: name'
|
help = 'Index format: name'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue