Skip to content

Commit

Permalink
animeout missing some links
Browse files Browse the repository at this point in the history
  • Loading branch information
deven96 committed Sep 30, 2020
1 parent f046591 commit ca39399
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion engine/animeout.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ func (engine *AnimeOut) updateDownloadProps(downloadCollector *colly.Collector,
description = e.ChildTexts("p")[1]
}
}
episodeLinks := e.ChildAttrs("a", "href")[1:]
episodeLinks := e.ChildAttrs("a", "href")
if len(episodeLinks) > 1 {
episodeLinks = episodeLinks[1:]
}
index := 0
for _, link := range episodeLinks {
if (link != "#") && (link != "") {
Expand Down

0 comments on commit ca39399

Please sign in to comment.