aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/markiza.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-06-18 04:04:13 +0700
committerSergey M․ <dstftw@gmail.com>2018-06-18 04:54:52 +0700
commit00a429bea3c2deacef5dbfb2b0b7e191b1dbaf62 (patch)
tree08a5c1eda2c6b952a5460c8dc9bba0ac21b8af72 /youtube_dl/extractor/markiza.py
parentd391b7e23d3d6c2af03c6329b4bf059ec095f33d (diff)
[markiza] Expect 500 status code
Diffstat (limited to 'youtube_dl/extractor/markiza.py')
-rw-r--r--youtube_dl/extractor/markiza.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/markiza.py b/youtube_dl/extractor/markiza.py
index e6bfab114..def960a0c 100644
--- a/youtube_dl/extractor/markiza.py
+++ b/youtube_dl/extractor/markiza.py
@@ -110,7 +110,11 @@ class MarkizaPageIE(InfoExtractor):
def _real_extract(self, url):
playlist_id = self._match_id(url)
- webpage = self._download_webpage(url, playlist_id)
+ webpage = self._download_webpage(
+ # Downloading for some hosts (e.g. dajto, doma) fails with 500
+ # although everything seems to be OK, so considering 500
+ # status code to be expected.
+ url, playlist_id, expected_status=500)
entries = [
self.url_result('http://videoarchiv.markiza.sk/video/%s' % video_id)