Skip to content

Commit

Permalink
debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
toshski committed Jan 9, 2024
1 parent 4af5092 commit a43a3d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scrape/vrhush.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit a43a3d5

Please sign in to comment.