Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e33e6c8a53 | ||
|
|
37a6e2ad09 |
@@ -16,7 +16,13 @@
|
||||
"Bash(.venv/bin/python -c ' *)",
|
||||
"Bash(.venv/bin/python gui_main.py)",
|
||||
"Skill(claude-in-chrome)",
|
||||
"Bash(pkill -f \"gui_main.py\")"
|
||||
"Bash(pkill -f \"gui_main.py\")",
|
||||
"Bash(QT_QPA_PLATFORM=offscreen .venv/bin/python -c ' *)",
|
||||
"Bash(git add *)",
|
||||
"Bash(git pull *)",
|
||||
"Bash(git stash *)",
|
||||
"Bash(.venv/bin/python -c \"from core.bookys_scraper import CATEGORIES; print\\('categories:', list\\(CATEGORIES\\)\\)\")",
|
||||
"Bash(git push *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user