summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatej Dujava <mdujava@gmail.com>2020-06-01 16:11:31 +0200
committerGitHub <noreply@github.com>2020-06-01 21:11:31 +0700
commitd5147b65ac3d81b5acb4aa2c4aca008ffd3e7c06 (patch)
tree7b28fcb515937d070f872bb9649aa7f7028220fb
parent7b0b53ea69ad32d0bf6987633e56f68da3913caa (diff)
downloadyoutube-dl-d5147b65ac3d81b5acb4aa2c4aca008ffd3e7c06.tar.gz
youtube-dl-d5147b65ac3d81b5acb4aa2c4aca008ffd3e7c06.tar.xz
youtube-dl-d5147b65ac3d81b5acb4aa2c4aca008ffd3e7c06.zip
[malltv] Add support for sk.mall.tv (#25445)
-rw-r--r--youtube_dl/extractor/malltv.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/malltv.py b/youtube_dl/extractor/malltv.py
index e13c2e11a..6f4fd927f 100644
--- a/youtube_dl/extractor/malltv.py
+++ b/youtube_dl/extractor/malltv.py
@@ -8,7 +8,7 @@ from ..utils import merge_dicts
 
 
 class MallTVIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?mall\.tv/(?:[^/]+/)*(?P<id>[^/?#&]+)'
+    _VALID_URL = r'https?://(?:(?:www|sk)\.)?mall\.tv/(?:[^/]+/)*(?P<id>[^/?#&]+)'
     _TESTS = [{
         'url': 'https://www.mall.tv/18-miliard-pro-neziskovky-opravdu-jsou-sportovci-nebo-clovek-v-tisni-pijavice',
         'md5': '1c4a37f080e1f3023103a7b43458e518',
@@ -26,6 +26,9 @@ class MallTVIE(InfoExtractor):
     }, {
         'url': 'https://www.mall.tv/kdo-to-plati/18-miliard-pro-neziskovky-opravdu-jsou-sportovci-nebo-clovek-v-tisni-pijavice',
         'only_matching': True,
+    }, {
+        'url': 'https://sk.mall.tv/gejmhaus/reklamacia-nehreje-vyrobnik-tepla-alebo-spekacka',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):