Everything is in memory now without libs
This commit is contained in:
@@ -79,7 +79,7 @@ func extractIDFromFilename(filename string) (string, string) {
|
||||
}
|
||||
|
||||
// findLinkByFragment finds a link by a fragment, it might be wrong
|
||||
func findLinkByFragment(torrents []realdebrid.Torrent, fragment string) string {
|
||||
func findLinkByFragment(torrents []torrent.Torrent, fragment string) string {
|
||||
for _, torrent := range torrents {
|
||||
for _, link := range torrent.Links {
|
||||
if strings.HasPrefix(link, fmt.Sprintf("https://real-debrid.com/d/%s", fragment)) {
|
||||
|
||||
Reference in New Issue
Block a user