summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-23 09:44:37 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-23 09:44:37 (GMT)
commit39fd1c441cb18b1430ad954eb4431a2a8bff81c2 (patch)
tree82a3e1cc4df8f04c6a5284486a00a19fbaa44fcc
parent5cf695da3ab7600ae4b46630690d0ebf7ce75812 (diff)
slightly improved logoutput
-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 {