summaryrefslogtreecommitdiff
path: root/rhimport/fetcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport/fetcher.go')
-rw-r--r--rhimport/fetcher.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go
index db7ac3e..2740055 100644
--- a/rhimport/fetcher.go
+++ b/rhimport/fetcher.go
@@ -143,9 +143,6 @@ func checkYoutubeDL(ctx *Context, res *Result, uri *url.URL) *youtubeDLInfo {
var stderr, stdout bytes.Buffer
cmd.Stdout = &stdout
cmd.Stderr = &stderr
- if cba_api_key := getCBAApiKey(); cba_api_key != "" {
- cmd.Env = append(os.Environ(), "CBA_API_KEY="+cba_api_key)
- }
ctx.stdlog.Printf("running youtube-dl for '%s'", ctx.SourceUri)
done := make(chan *youtubeDLInfo)