projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a69e8bf
)
[bbccouk] Fix error handling
author
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 18 Jun 2015 13:40:45 +0000
(21:40 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 18 Jun 2015 13:40:45 +0000
(21:40 +0800)
youtube_dl/extractor/bbccouk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bbccouk.py
b/youtube_dl/extractor/bbccouk.py
index 249bc6bbde85dc568796f094f421f989df664a1c..4b25b8c384dcc3845a6137b61076a61935866792 100644
(file)
--- a/
youtube_dl/extractor/bbccouk.py
+++ b/
youtube_dl/extractor/bbccouk.py
@@
-267,7
+267,7
@@
class BBCCoUkIE(InfoExtractor):
programme_id, 'Downloading media selection XML')
except ExtractorError as ee:
if isinstance(ee.cause, compat_HTTPError) and ee.cause.code == 403:
- media_selection = xml.etree.ElementTree.fromstring(ee.cause.read().
en
code('utf-8'))
+ media_selection = xml.etree.ElementTree.fromstring(ee.cause.read().
de
code('utf-8'))
else:
raise