please improve error handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Youtube Dl |
Fix Released
|
Undecided
|
Unassigned | ||
youtube-dl (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
It would be good if youtube-dl had better error handling. The script can fetch from a number of sites, not only youtube. Obviously, it won't be able to fetch from everywhere and it should do better in reporting that to the user if it occurs.
$ youtube-dl http://
[generic] 10753844: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 10753844: Downloading webpage
[generic] 10753844: Extracting information
Traceback (most recent call last):
File "/usr/bin/
youtube_
File "/usr/lib/
_real_
File "/usr/lib/
retcode = ydl.download(
File "/usr/lib/
self.
File "/usr/lib/
ie_result = ie.extract(url)
File "/usr/lib/
return self._real_
File "/usr/lib/
bc_urls = BrightcoveIE.
File "/usr/lib/
return [cls._build_
File "/usr/lib/
object_doc = xml.etree.
File "/usr/lib/
parser.
File "/usr/lib/
self.
File "/usr/lib/
raise err
xml.etree.
Ubuntu will rely on upstream to fix this. So your best bet is to make your request there.