Skip to content

Commit

Permalink
fix: archive pranic
Browse files Browse the repository at this point in the history
  • Loading branch information
gabelluardo committed Mar 17, 2024
1 parent bfb9251 commit 8442030
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ impl AnimeWorld {
let a = Selector::parse("a").unwrap();
let mut list = page
.select(&ul)
.next()
.unwrap()
.next()?
.select(&a)
.filter_map(|a| a.inner_html().parse::<u32>().ok());

Expand Down

0 comments on commit 8442030

Please sign in to comment.