1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-23 23:17:53 +01:00

[theplatform] Fix geographic restriction check

This commit is contained in:
Philipp Hagemeister 2013-12-16 03:43:45 +01:00
parent f8b56e95b8
commit 48462108f3

View File

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