Compare commits

...

19 commits

Author SHA1 Message Date
6020a48a9b Merge remote-tracking branch 'origin/main' 2024-01-15 21:57:50 -06:00
19b2b91e91 feat: Added "I Roved Out" 2024-01-15 21:57:34 -06:00
ed296e724f Added Nix build files 2024-01-15 20:36:17 -06:00
937b5d4445 Add Alfie 2024-01-15 20:36:17 -06:00
b69d3c87e3 Add ExorcismAcademy 2024-01-15 20:36:17 -06:00
Tobias Gruetzmacher
c696fc7835
Merge pull request #296 from webcomics/dependabot/github_actions/github/codeql-action-3
Bump github/codeql-action from 2 to 3
2023-12-14 10:17:41 +01:00
dependabot[bot]
a7a0954082
Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 07:37:11 +00:00
Tobias Gruetzmacher
a23e070f3e
Merge pull request #295 from webcomics/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
2023-12-07 13:39:45 +01:00
dependabot[bot]
a81de41122
Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 07:42:43 +00:00
Tobias Gruetzmacher
8c3fb043a6
Housekeeping: Increase minimum required setuptools version
This is probably of little consequence since most users use the newest
setuptools version anyways...
2023-11-19 22:41:45 +01:00
Tobias Gruetzmacher
75c09b68a2
Improve shell completion support 2023-11-19 22:15:24 +01:00
Tobias Gruetzmacher
c25c960132
Build with Python 3.12 2023-11-13 23:59:32 +01:00
Tobias Gruetzmacher
9163317aba
Fix type annotations for older Python versions 2023-10-30 08:37:49 +01:00
Tobias Gruetzmacher
af20ca7478
Simplify update checker
Motivated by the distutils removal, this replaces version parsing by a
"good enough" version comparison algorithm...
2023-10-29 19:05:20 +01:00
Tobias Gruetzmacher
a392a41acb
Jenkins: Use modern coverage step 2023-10-26 22:25:25 +02:00
Tobias Gruetzmacher
85127de88d
Remove certificate "pinning" for ComicsKingdom (fixes #291)
They have switched to short-lived Google certificates, let's hope they
have automated their certificate setup enough so that chain issues won't
happen again...
2023-10-11 00:54:22 +02:00
Tobias Gruetzmacher
5de53cb4b4
Fix CyanideAndHappiness (fixes #227) 2023-10-08 20:41:39 +02:00
Tobias Gruetzmacher
5f2a3cc7cf
Merge pull request #288 from dmoonfire/CassiopeiaQuinn
Add CassiopeiaQuinn
2023-10-08 18:36:35 +02:00
4aa089488e Add CassiopeiaQuinn 2023-09-24 00:27:48 -05:00
5 changed files with 26 additions and 5 deletions

View file

@ -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 }}

View file

@ -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

View file

@ -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'

View file

@ -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 }}'

View file

@ -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'