From cb710e60012e0d4ef88938e1b739e2a7d362d239 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Sun, 9 Mar 2014 15:16:15 +0100 Subject: [PATCH] fetcher.http: send url to debug log before request --- lib/svtplay_dl/fetcher/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/svtplay_dl/fetcher/http.py b/lib/svtplay_dl/fetcher/http.py index c5ce5cd..9dd9758 100644 --- a/lib/svtplay_dl/fetcher/http.py +++ b/lib/svtplay_dl/fetcher/http.py @@ -11,6 +11,7 @@ from svtplay_dl.utils.urllib import urlopen, Request, HTTPError def download_http(options, url): """ Get the stream from HTTP """ + log.debug("Fetching %s", url) request = Request(url) request.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3') try: