Skip to content

Commit ca39399

Browse files
committedSep 30, 2020
animeout missing some links
1 parent f046591 commit ca39399

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎engine/animeout.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ func (engine *AnimeOut) updateDownloadProps(downloadCollector *colly.Collector,
8585
description = e.ChildTexts("p")[1]
8686
}
8787
}
88-
episodeLinks := e.ChildAttrs("a", "href")[1:]
88+
episodeLinks := e.ChildAttrs("a", "href")
89+
if len(episodeLinks) > 1 {
90+
episodeLinks = episodeLinks[1:]
91+
}
8992
index := 0
9093
for _, link := range episodeLinks {
9194
if (link != "#") && (link != "") {

0 commit comments

Comments
 (0)
Please sign in to comment.