[videoob] fix #1683 : fix problem with stream parameter in request.get in python-requests v2.5
This commit is contained in:
parent
3301f578a2
commit
d0cac165ef
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ class Videoob(ReplApplication):
|
||||||
os.spawnlp(os.P_WAIT, args[0], *args)
|
os.spawnlp(os.P_WAIT, args[0], *args)
|
||||||
|
|
||||||
def read_url(self, url):
|
def read_url(self, url):
|
||||||
r = requests.get(url, stream=True)
|
r = requests.get(url, stream=False)
|
||||||
buf = r.iter_lines()
|
buf = r.iter_lines()
|
||||||
r.close()
|
r.close()
|
||||||
return buf
|
return buf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue