Bug #1683

Videoob : Problem with arte download

Added by Free Effects over 2 years ago. Updated about 2 years ago.

Status:Resolved Start:2014-12-06
Priority:Normal Due date:
Assigned to:- % Done:

100%

Category:- Spent time: -
Target version:1.1
Module:videoob Branch:

Description

Commands used that issued the error: "backends only arte", "search journal", "download 1".
Problem: No url is passed to wget : Message "Wget: Missing URL", no video is downloaded

Analysis: in videoob.py, read_url returns an empty array. When changing line
r = requests.get(url, stream=True)
into
r = requests.get(url, stream=False)
the expected behaviour occurs and the target video is well downloaded.

Environment: Ubuntu 12.04.3 LTS, weboob v1.0, python v2.7, python-requests v2.5

Associated revisions

Revision d0cac165efbf9d5273317430bdebd3c814cad619
Added by Benjamin CARTON over 2 years ago

[videoob] fix #1683 : fix problem with stream parameter in request.get in python-requests v2.5

Revision 9d1155955ec6ab4cdbcd045128f5c50b4de85326
Added by Romain Bignon over 2 years ago

correctly fix the problem with streamed calls on requests (closes #1683)

Do not close explicitly the socket, as it is closed automatically when all
the data is consumed.

History

Updated by Benjamin CARTON over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Romain Bignon about 2 years ago

  • Target version set to 1.1

Also available in: Atom PDF