Commit Graph

7 Commits

Author SHA1 Message Date
^_^
6199e02b9b feat: fix Nextory series null handling and add PDF book support
- Fix _extract_series_name to handle null series values
- Add PDF book support for Nextory (served via epub endpoint)
- Convert PDF-in-epub to merged PDF after download
- Add pypdf dependency for PDF merging
- Add Pdf output format (unused but available)
- Update metadata transformer to handle both epub and pdf formats
2026-01-15 11:09:56 +01:00
^_^
08af04ab32 feat: migrate to bbpb and platformdirs, add dependency version constraints
- Migrate from blackboxprotobuf to bbpb (new PyPI package name)
  - Update pyproject.toml and shell.nix dependencies
  - Import name remains 'blackboxprotobuf' (no code changes)
- Migrate from appdirs to platformdirs
  - Replace deprecated appdirs with actively maintained platformdirs
  - Update grawlix/config.py to use platformdirs.user_config_dir
  - Update dependency declarations in pyproject.toml and shell.nix
- Add minimum version constraints for all dependencies
  - Set requires-python = ">=3.9" (required by httpx and importlib.resources.files())
  - Add Python version classifiers (3.9-3.13)
  - Specify minimum versions: beautifulsoup4>=4.9.0, bbpb>=1.0.0,
    EbookLib>=0.17, httpx>=0.23.0, importlib-resources>=5.0,
    lxml>=4.6.0, platformdirs>=3.0.0, pycryptodome>=3.10.0, rich>=10.0.0
  - Make tomli conditional: only required for Python < 3.11
- Update shell.nix with correct SHA256 hash for bbpb 1.4.2
These changes ensure all dependencies meet minimum version requirements
for Python 3.9+ compatibility and replace deprecated packages with
actively maintained alternatives.
2026-01-15 11:09:56 +01:00
Joakim Holm
84dce7c616 Fix pyproject.toml 2023-05-10 10:22:48 +02:00
Joakim Holm
f9919fc48b Fix script 2023-05-08 12:46:21 +02:00
Joakim Holm
1c3f1c4245 Implement Royal Road Source 2023-04-27 23:04:14 +02:00
Joakim Holm
b2381326cb Make http calls async 2023-04-26 21:51:45 +02:00
Joakim Holm
d386cdcd88 Add code 2023-04-06 21:38:19 +02:00