projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b56e9
)
[theplatform] Fix geographic restriction check
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 16 Dec 2013 02:43:45 +0000
(
03:43
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 16 Dec 2013 02:43:45 +0000
(
03:43
+0100)
youtube_dl/extractor/theplatform.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/theplatform.py
b/youtube_dl/extractor/theplatform.py
index 650d7517f83ee09d4467d4338cbd7c97620121a5..cec65261bfffd2a25702634047a99526fa3a7d10 100644
(file)
--- a/
youtube_dl/extractor/theplatform.py
+++ b/
youtube_dl/extractor/theplatform.py
@@
-38,7
+38,7
@@
class ThePlatformIE(InfoExtractor):
error_msg = next(
n.attrib['abstract']
for n in meta.findall(_x('.//smil:ref'))
- if n.attrib
['title']
== u'Geographic Restriction')
+ if n.attrib
.get('title')
== u'Geographic Restriction')
except StopIteration:
pass
else: