diff --git a/core/__pycache__/bookys_scraper.cpython-314.pyc b/core/__pycache__/bookys_scraper.cpython-314.pyc index 6c5e1c7..e979e2a 100644 Binary files a/core/__pycache__/bookys_scraper.cpython-314.pyc and b/core/__pycache__/bookys_scraper.cpython-314.pyc differ diff --git a/core/bookys_scraper.py b/core/bookys_scraper.py index adf1631..a3a9d46 100644 --- a/core/bookys_scraper.py +++ b/core/bookys_scraper.py @@ -26,12 +26,22 @@ import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) -# Category slug -> listing path on the site. Only BD is enabled for now. +# Category slug -> listing path on the site. All share the same page structure +# (20 items per page, ?page=N pagination, .bys-item links), so adding one is +# just a new entry here - the rest of the scraper and the UI adapt automatically. CATEGORIES = { "bd": { "name": "Bandes dessinées (BD)", "path": "bandes-dessinees/bd", }, + "comic": { + "name": "Comics", + "path": "bandes-dessinees/comic", # note: singular "comic" on the site + }, + "manga": { + "name": "Manga", + "path": "bandes-dessinees/manga", + }, } BASE_DOMAIN = "https://www7.bookys-ebooks.com"