A feature-rich command-line audio/video downloader
[iprima] Relax _VALID_URL (closes #18453)
Sergey M․9235b5091ced
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.pyindex 1d58d6e850..11a6629d24 100644--- a/youtube_dl/extractor/iprima.py+++ b/youtube_dl/extractor/iprima.py@@ -12,7 +12,7 @@ from ..utils import (class IPrimaIE(InfoExtractor):- _VALID_URL = r'https?://(?:play|prima)\.iprima\.cz/(?:.+/)?(?P<id>[^?#]+)'+ _VALID_URL = r'https?://(?:play|prima|www)\.iprima\.cz/(?:[^/]+/)*(?P<id>[^/?#&]+)'_GEO_BYPASS = False_TESTS = [{@@ -41,6 +41,9 @@ class IPrimaIE(InfoExtractor):# iframe prima.iprima.cz'url': 'https://prima.iprima.cz/porady/jak-se-stavi-sen/rodina-rathousova-praha','only_matching': True,+ }, {+ 'url': 'http://www.iprima.cz/filmy/desne-rande',+ 'only_matching': True,}]def _real_extract(self, url):