Fix broken gallery selector
This commit is contained in:
parent
27f3b5009e
commit
49970328f7
@ -330,7 +330,7 @@ class User:
|
||||
|
||||
# Try get the next page
|
||||
try:
|
||||
next_page_button = soup.select('.submission-list form button[type=submit]')[0]
|
||||
next_page_button = soup.select('.submission-list .inline:last-child form button[type=submit]')[0]
|
||||
next_page_url = FA_BASE_URL + next_page_button.parent.get('action')
|
||||
except IndexError:
|
||||
# No next page, null the url to break the loop
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user