Skip to content

Commit be66b50

Browse files
parse:parse_watchlist - fix incorrect property name
1 parent a99fff3 commit be66b50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

faapi/parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ def parse_user_journals(journals_page: BeautifulSoup) -> dict[str, Any]:
878878

879879
def parse_watchlist(watch_page: BeautifulSoup) -> tuple[list[tuple[str, str]], Optional[int]]:
880880
tag_next: Optional[Tag] = watch_page.select_one(
881-
'section div.floatright form[method="get"] input[name="next"][value]'
881+
'section div.floatright form[method="get"] input[name="page"][value]'
882882
)
883883
next_page: Optional[int] = int(get_attr(tag_next, "value")) if tag_next else None
884884

0 commit comments

Comments
 (0)