Add Footer, Remove Mods, and Add Main Mod
All checks were successful
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Successful in 3m30s

This commit is contained in:
2025-09-16 15:10:13 -04:00
parent ca4fd2c9d5
commit 6b520a1bcc
6 changed files with 126 additions and 43 deletions

View File

@@ -128,10 +128,10 @@ def extract_required_item_ids(url: str) -> List[str]:
html = fetch_page(url)
found_ids = extract_required_item_ids_from_html(html)
# Remove the current page's ID if present
# Ensure the current page's ID is included (user wants main mod too)
current_id = parse_main_item_id(url)
if current_id and current_id in found_ids:
found_ids.remove(current_id)
if current_id:
found_ids.add(current_id)
return sorted(found_ids, key=int)