Additional fixes on link checks

This commit is contained in:
Ben Sarmiento
2023-11-19 02:17:46 +01:00
parent 2923f3918d
commit ae635799f8
6 changed files with 10 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ import (
)
func (rd *RealDebrid) UnrestrictUntilOk(link string) *UnrestrictResponse {
if link == "" {
if !strings.HasPrefix(link, "http") {
return nil
}
unrestrictFn := func(link string) (*UnrestrictResponse, error) {