Skip to content

Commit

Permalink
fix: update list count html element
Browse files Browse the repository at this point in the history
  • Loading branch information
cecobask committed Nov 19, 2024
1 parent aad0fb2 commit 2d2567b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/imdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func (c *IMDbClient) lidsScrape() ([]string, error) {
if err != nil {
return nil, fmt.Errorf("failure navigating and validating response: %w", err)
}
hasLists, listCountDiv, err := tab.Has("div[data-testid='list-page-mc-total-items']")
hasLists, listCountDiv, err := tab.Has("ul[data-testid='list-page-mc-total-items'] li")
if err != nil {
return nil, fmt.Errorf("failure finding list count div: %w", err)
}
Expand Down

0 comments on commit 2d2567b

Please sign in to comment.