Add cdp support for xpath scrapers (#625)

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
bnkai
2020-08-04 03:42:40 +03:00
committed by GitHub
parent 1b4a9eed36
commit 4373f9bf01
284 changed files with 133250 additions and 54 deletions

20
scripts/test_oshash.go Normal file
View File

@@ -0,0 +1,20 @@
// +build ignore
package main
import (
"fmt"
"os"
"github.com/stashapp/stash/pkg/utils"
)
func main() {
hash, err := utils.OSHashFromFilePath(os.Args[1])
if err != nil {
panic(err)
}
fmt.Println(hash)
}