diff options
author | rupertbaxter2 <rupertbaxter2@yahoo.com> | 2014-08-13 04:22:45 -0700 |
---|---|---|
committer | rupertbaxter2 <rupertbaxter2@yahoo.com> | 2014-08-13 04:22:45 -0700 |
commit | f96252b913945a173ebf2388de0c01b401b90a3a (patch) | |
tree | 7548dfc2247efb507405b817f0223e517c4ced42 /youtube_dl/extractor/ard.py | |
parent | 04b89c9026e14c16d3b53cbddf8654f354174245 (diff) | |
parent | 6f600ff5d6bda54d8128e6263a468a08edfc3353 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'youtube_dl/extractor/ard.py')
-rw-r--r-- | youtube_dl/extractor/ard.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py index 957bdefcb..7f0da8ab6 100644 --- a/youtube_dl/extractor/ard.py +++ b/youtube_dl/extractor/ard.py @@ -51,6 +51,9 @@ class ARDIE(InfoExtractor): webpage = self._download_webpage(url, video_id) + if '>Der gewünschte Beitrag ist nicht mehr verfügbar.<' in webpage: + raise ExtractorError('Video %s is no longer available' % video_id, expected=True) + title = self._html_search_regex( [r'<h1(?:\s+class="boxTopHeadline")?>(.*?)</h1>', r'<meta name="dcterms.title" content="(.*?)"/>', |