-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
This line doesn't seem to work on albums with 2 pages. It picks up the "next page" link with a chevron in it for the last page and crashes since its not a number.
CyberdropBunkrDownloader/dump.py
Line 84 in b7c3e73
| last_page = int(pagination.find_all('a')[-2].text) |
Suggested fix:
page_links = [a for a in pagination.find_all('a') if a.text.isdigit()]
last_page = int(page_links[-1].text) if page_links else current_pageReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels