aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/theplatform.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-03-31 03:36:09 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-03-31 03:36:09 +0800
commita2edf2e7ff314eaa3124c1da1b962d054b6d9fff (patch)
treec9c210a3482f8039006c015d1082a4fce17308ec /youtube_dl/extractor/theplatform.py
parent1d31e7a2fc2fb78c792754578a8a58b056811b84 (diff)
downloadyoutube-dl-a2edf2e7ff314eaa3124c1da1b962d054b6d9fff.tar.xz
[NBC/ThePlatform/Generic] Add a generic detector for NBCSportsVPlayer and enhance error detection in ThePlatformIE
Diffstat (limited to 'youtube_dl/extractor/theplatform.py')
-rw-r--r--youtube_dl/extractor/theplatform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py
index feac666f7..0e3e627f4 100644
--- a/youtube_dl/extractor/theplatform.py
+++ b/youtube_dl/extractor/theplatform.py
@@ -92,7 +92,7 @@ class ThePlatformIE(InfoExtractor):
error_msg = next(
n.attrib['abstract']
for n in meta.findall(_x('.//smil:ref'))
- if n.attrib.get('title') == 'Geographic Restriction')
+ if n.attrib.get('title') == 'Geographic Restriction' or n.attrib.get('title') == 'Expired')
except StopIteration:
pass
else: