Compare commits

..

No commits in common. "6020a48a9be3b13aa7355428412058ea3344e332" and "98887d246a711f612de77e197d7a7508e31625e3" have entirely different histories.

5 changed files with 5 additions and 26 deletions

View file

@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

View file

@ -30,9 +30,9 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v2

View file

@ -18,7 +18,7 @@ jobs:
fetch-depth: 10
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: '3.12'

View file

@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: '${{ env.DEFAULT_PYTHON }}'

View file

@ -51,27 +51,6 @@ 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'