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
All checks were successful
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Successful in 3m30s
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user