Skip to content

Commit

Permalink
fix: use ipfs link instead (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
laureanray committed May 22, 2023
1 parent 530044d commit 179e25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/libgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 179e25d

Please sign in to comment.