aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/zapiks.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/zapiks.py')
-rw-r--r--hypervideo_dl/extractor/zapiks.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/hypervideo_dl/extractor/zapiks.py b/hypervideo_dl/extractor/zapiks.py
index 161b011..88f526b 100644
--- a/hypervideo_dl/extractor/zapiks.py
+++ b/hypervideo_dl/extractor/zapiks.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
import re
from .common import InfoExtractor
@@ -15,6 +12,7 @@ from ..utils import (
class ZapiksIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?zapiks\.(?:fr|com)/(?:(?:[a-z]{2}/)?(?P<display_id>.+?)\.html|index\.php\?.*\bmedia_id=(?P<id>\d+))'
+ _EMBED_REGEX = [r'<iframe[^>]+src="(?P<url>https?://(?:www\.)?zapiks\.fr/index\.php\?.+?)"']
_TESTS = [
{
'url': 'http://www.zapiks.fr/ep2s3-bon-appetit-eh-be-viva.html',
@@ -94,7 +92,6 @@ class ZapiksIE(InfoExtractor):
if m:
f['height'] = int(m.group('height'))
formats.append(f)
- self._sort_formats(formats)
return {
'id': video_id,