summaryrefslogtreecommitdiff
path: root/rhimport/fetcher.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-02 02:17:41 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-02 02:17:41 (GMT)
commit5f1a1745610f854d2c828439f164354e3ab8ffb6 (patch)
treea5f86a945cfd8dc5a19ad576da7543638b603e20 /rhimport/fetcher.go
parent0d3025b170012a689793a42060bfdcc59843d057 (diff)
youtube-dl fetches CBA api key from .netrc now
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)