From a43a3d50828933353e3bdce712449ecef3154ebb Mon Sep 17 00:00:00 2001 From: toshski Date: Tue, 9 Jan 2024 17:26:50 +1300 Subject: [PATCH] debug 2 --- pkg/scrape/vrhush.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scrape/vrhush.go b/pkg/scrape/vrhush.go index 95df34b18..e525988c6 100644 --- a/pkg/scrape/vrhush.go +++ b/pkg/scrape/vrhush.go @@ -124,9 +124,9 @@ func VRHush(wg *sync.WaitGroup, updateSite bool, knownScenes []string, out chan< sc.Filenames = append(sc.Filenames, tmp[len(tmp)-1]) } else { log.Infof("debug videoMap %s", videoMap) - log.Infof("debug videoMap url %s", videoMap["url"]) if _, ok := videoMap["url"]; ok { - parsedURL, _ := url.Parse(videoMap["file"].(string)) + log.Infof("debug videoMap url %s", videoMap["url"]) + parsedURL, _ := url.Parse(videoMap["url"].(string)) baseName := path.Base(parsedURL.Path) sc.Filenames = append(sc.Filenames, baseName) }