diff --git a/pkg/api/libgen.go b/pkg/api/libgen.go index d6a9e23..9d1bbaa 100644 --- a/pkg/api/libgen.go +++ b/pkg/api/libgen.go @@ -149,7 +149,7 @@ func getBookDataFromDocument(document *goquery.Document, libgenSite Site) []Book } func getLinkFromDocumentOld(document *goquery.Document) (string, bool) { - return document.Find("#download > h2 > a").First().Attr("href") + return document.Find("#download > ul > li > a").First().Attr("href") } func getLinkFromDocumentNew(document *goquery.Document) (string, bool) {