Compare commits
19 commits
98887d246a
...
6020a48a9b
Author | SHA1 | Date | |
---|---|---|---|
6020a48a9b | |||
19b2b91e91 | |||
ed296e724f | |||
937b5d4445 | |||
b69d3c87e3 | |||
|
c696fc7835 | ||
|
a7a0954082 | ||
|
a23e070f3e | ||
|
a81de41122 | ||
|
8c3fb043a6 | ||
|
75c09b68a2 | ||
|
c25c960132 | ||
|
9163317aba | ||
|
af20ca7478 | ||
|
a392a41acb | ||
|
85127de88d | ||
|
5de53cb4b4 | ||
|
5f2a3cc7cf | ||
4aa089488e |
5 changed files with 26 additions and 5 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
|
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
@ -30,9 +30,9 @@ jobs:
|
|||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
uses: github/codeql-action/analyze@v3
|
||||
|
|
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
fetch-depth: 10
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
|
|
2
.github/workflows/test-publish.yaml
vendored
2
.github/workflows/test-publish.yaml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
|||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '${{ env.DEFAULT_PYTHON }}'
|
||||
|
||||
|
|
|
@ -51,6 +51,27 @@ class Inverloch(ParserScraper):
|
|||
endOfLife = True
|
||||
|
||||
|
||||
class IRovedOut(ParserScraper):
|
||||
url = 'https://www.irovedout.com/'
|
||||
stripUrl = url + '%s/'
|
||||
firstStripUrl = stripUrl % 'iro'
|
||||
imageSearch = '//div[@id="comic"]//img'
|
||||
prevSearch = '//a[@class="navi comic-nav-previous navi-prev"]'
|
||||
|
||||
def namer(self, imageUrl, pageUrl):
|
||||
page = self.getPage(pageUrl)
|
||||
strip = page.xpath('//div[@id="comic-wrap"]/@class')[0].replace('comic-id-', '')
|
||||
parts = page.xpath('//div[@id="comic"]//img/@src')[0].split('/')
|
||||
return "{0}-{1}-{2}-{3}".format(parts[5], parts[6], strip.zfill(5), parts[7])
|
||||
|
||||
def starter(self):
|
||||
"""Return last gallery link."""
|
||||
url = 'https://www.irovedout.com/'
|
||||
data = self.getPage(url)
|
||||
link = data.xpath('//a[@class="navi navi-last"]/@href').pop(0)
|
||||
return link
|
||||
|
||||
|
||||
class IrregularWebcomic(BasicScraper):
|
||||
url = 'http://www.irregularwebcomic.net/'
|
||||
stripUrl = url + '%s.html'
|
||||
|
|
Loading…
Reference in a new issue