Browse Source

[theplatform] Fix geographic restriction check

master
Philipp Hagemeister 11 years ago
parent
commit
48462108f3
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/theplatform.py

2
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:

Loading…
Cancel
Save