aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2020-11-20 10:10:57 +0100
committerRemita Amine <remitamine@gmail.com>2020-11-20 10:10:57 +0100
commita78e530c14cf7caf9449918285653d8284ef30dc (patch)
tree5a3a64e44134b9643f8922e5f13c1e1dd71a201b
parentaf7bb684c086292e855d4e6f37a724ef27e14bd8 (diff)
[rai] fix unavailable video format detection
-rw-r--r--youtube_dl/extractor/rai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rai.py b/youtube_dl/extractor/rai.py
index b072a0f38..06958966f 100644
--- a/youtube_dl/extractor/rai.py
+++ b/youtube_dl/extractor/rai.py
@@ -68,7 +68,7 @@ class RaiBaseIE(InfoExtractor):
# This does not imply geo restriction (e.g.
# http://www.raisport.rai.it/dl/raiSport/media/rassegna-stampa-04a9f4bd-b563-40cf-82a6-aad3529cb4a9.html)
- if media_url == 'http://download.rai.it/video_no_available.mp4':
+ if '/video_no_available.mp4' in media_url:
continue
ext = determine_ext(media_url)