From d0cac165efbf9d5273317430bdebd3c814cad619 Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Mon, 8 Dec 2014 17:38:40 +0100 Subject: [PATCH] [videoob] fix #1683 : fix problem with stream parameter in request.get in python-requests v2.5 --- weboob/applications/videoob/videoob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/applications/videoob/videoob.py b/weboob/applications/videoob/videoob.py index 576ddb46..5968f540 100644 --- a/weboob/applications/videoob/videoob.py +++ b/weboob/applications/videoob/videoob.py @@ -121,7 +121,7 @@ class Videoob(ReplApplication): os.spawnlp(os.P_WAIT, args[0], *args) def read_url(self, url): - r = requests.get(url, stream=True) + r = requests.get(url, stream=False) buf = r.iter_lines() r.close() return buf