'title':'American Experience - Death and the Civil War',
'title':'American Experience - Death and the Civil War, Chapter 1',
'description':'American Experience, TV’s most-watched history series, brings to life the compelling stories from our past that inform our understanding of the world today.',
'duration':6705,
'duration':682,
'thumbnail':'re:^https?://.*\.jpg$',
},
'params':{
@ -134,6 +134,7 @@ class PBSIE(InfoExtractor):
'params':{
'skip_download':True,# requires ffmpeg
},
'skip':'Expired',
},
{
# Video embedded in iframe containing angle brackets as attribute's value (e.g.
@ -154,6 +155,12 @@ class PBSIE(InfoExtractor):
},
}
]
_ERRORS={
101:'We\'re sorry, but this video is not yet available.',
403:'We\'re sorry, but this video is not available in your region due to right restrictions.',
404:'We are experiencing technical difficulties that are preventing us from playing the video at this time. Please check back again soon.',
410:'This video has expired and is no longer available for online streaming.',
}
def_extract_webpage(self,url):
mobj=re.match(self._VALID_URL,url)
@ -231,13 +238,7 @@ class PBSIE(InfoExtractor):
'Downloading %s video url info'%encoding_name)
ifredirect_info['status']=='error':
ifredirect_info['http_code']==403:
message=(
'The video is not available in your region due to '