summaryrefslogtreecommitdiff
path: root/rhimport
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport')
-rw-r--r--rhimport/fetcher.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go
index f6c8d28..f30e57b 100644
--- a/rhimport/fetcher.go
+++ b/rhimport/fetcher.go
@@ -140,6 +140,7 @@ func checkYoutubeDL(ctx *Context, res *Result, uri *url.URL) *YoutubeDLInfo {
cmd.Env = append(os.Environ(), "CBA_API_KEY="+cba_api_key)
}
+ rhl.Printf("running youtube-dl for '%s'", ctx.SourceUri)
done := make(chan *YoutubeDLInfo)
go func() {
defer func() {
@@ -714,15 +715,15 @@ func fetcherInit() {
protos := info.Protocols
for _, proto := range protos {
if proto == "sftp" {
- rhdl.Printf("curl: enabling protocol %s", proto)
+ rhdl.Printf("curl: * enabling protocol %s", proto)
fetchers["archiv"] = fetchFileArchiv
archiveEnabled = true
} else if _, ok := curlProtos[proto]; ok {
- rhdl.Printf("curl: enabling protocol %s", proto)
+ rhdl.Printf("curl: * enabling protocol %s", proto)
fetchers[proto] = fetchFileCurl
curlProtos[proto] = true
} else {
- rhdl.Printf("curl: ignoring protocol %s", proto)
+ rhdl.Printf("curl: ignoring protocol %s", proto)
}
}
for proto, enabled := range curlProtos {