A fork of AnisearchKomga which uses the Title instead of the internal Name for getting the data https://github.com/Pfuenzle/AnisearchKomga/
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Slowpoke The Bot cf2967f035
ci / build (push) Successful in 8m17s Details
chore(deps): update python docker tag to v3.11 (#2)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| python | final | minor | `3.8` -> `3.11` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44Mi4wIiwidXBkYXRlZEluVmVyIjoiMzUuODIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Slowpoke Bot <gitea+slowpoke@noreply.gitea.slowb.ro>
Reviewed-on: #2
Co-authored-by: Slowpoke The Bot <slowpoke@noreply.gitea.slowb.ro>
Co-committed-by: Slowpoke The Bot <slowpoke@noreply.gitea.slowb.ro>
1 week ago
.gitea/workflows feat: ci testing 2 weeks ago
.gitignore Added docker-compose 1 year ago
Dockerfile chore(deps): update python docker tag to v3.11 (#2) 1 week ago
README.md Added docker-compose 1 year ago
config.template.py Added Progress tracking 1 year ago
docker-compose.yml Added docker-compose 1 year ago
mangaMetadata.py feat: ci testing 2 weeks ago
renovate.json Configure Renovate (#1) 2 weeks ago
requirements.txt init 1 year ago

README.md

Anisearch metadata scraper for Komga

Introduction

This Script gets a list of every manga available on your Komga instance, looks it up one after another on Anisearch and gets the metadata for the specific series. This metadata then gets converted to be compatible to Komga and then gets sent to the server instance and added to the manga entry.

See below for a list of supported attributes and languages

Requirements

  • A Komga instance with access to the admin account
  • Either Windows/Linux/MAc or alternatively Docker
  • Python installed if using Windows, Linux or Mac natively

Supported Languages

These languages have to be set in the config under anisearchlang.

If the chosen language has no summary available, the english summary will be used. For status and publisher the japanese metadata will be used as a fallback.

I tried to test the languages as best as I could, but if I missed something please make an Issue and tell me whats wrong :)

  • German
  • English
  • Spanish
  • French
  • Italian
  • Japanese

Parsed Attributes

  • Status
  • Summary
  • Publisher
  • Age rating (not supported for now, does Anisearch even have this?)
  • Genres
  • Tags

Getting started (Native)

  1. Install the requirements using pip install -r requirements.txt
  2. Init Playwright using playwright install
  3. Rename config.template.py to config.py and edit the url, email and password to match the ones of your komga instance (User needs to have permission to edit the metadata). The "mangas" array can be filled with the names of mangas which are supposed to be updated, if it is left empty every manga will be updated. "keepProgress" can be set to either "True" or "False". If it is set to true, successfully updated Mangas will be stored in a list and not be updated on the next run.
  4. Run the script using python mangaMetadata.py

Getting started (Docker)

  1. Run the docker image (replace the url, email and password with the one of your Komga instance (user needs to have permission to edit the metadata)) using
docker run \
  -e KOMGAURL=https://komga.com \
  -e KOMGAEMAIL=adminemail@komga.com \
  -e KOMGAPASSWORD=12345 \
  -e LANGUAGE=German \
  --name anisearchkomga \
  pfuenzle/anisearchkomga:latest

Hint: Replace \ with ` when using Powershell

Alternatively, you could run the docker-compose to get a running container with progress tracking

Additional Environment Variables

  • MANGAS="Manga1,Manga2" - This can be used to give a comma seperated list of mangas which are supposed to be updated. If it is left blank, every manga will be updated.
  • KEEPPROGRESS=True - This can be set to either true or false. If it is set to true, a list of all successfully updated mangas will be saved and mangas in this list will not be updated on the next run. If you want to persist the list on the disk, you have to also add a volume as following: -v /path/to/mangas.progress:/app/mangas.progress, where /path/to/mangas.progress has to be replaced with the path to an empty existing file.