'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 +135,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.
@ -231,13 +233,18 @@ 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 '
'right restrictions')
http_code=redirect_info['http_code']
ifhttp_code==403:
message='We\'re sorry, but this video is not available in your region due to right restrictions.'
elifhttp_code==101:
message='We\'re sorry, but this video is not yet available.'
elifhttp_code==404:
message='We are experiencing technical difficulties that are preventing us from playing the video at this time. Please check back again soon.'
elifhttp_code==410:
message='This video has expired and is no longer available for online streaming.'