1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[markiza] Expect 500 status code

This commit is contained in:
Sergey M․ 2018-06-18 04:04:13 +07:00
parent d391b7e23d
commit 00a429bea3
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -110,7 +110,11 @@ def suitable(cls, url):
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)