A feature-rich command-line audio/video downloader
[iprima] Confirm adult check (closes #17437)
Sergey M․09322cccdb65
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.pyindex a29e6a5bad..3c4b7e48b5 100644--- a/youtube_dl/extractor/iprima.py+++ b/youtube_dl/extractor/iprima.py@@ -38,6 +38,8 @@ class IPrimaIE(InfoExtractor):def _real_extract(self, url):video_id = self._match_id(url)+ self._set_cookie('play.iprima.cz', 'ott_adult_confirmed', '1')+webpage = self._download_webpage(url, video_id)video_id = self._search_regex(r'data-product="([^"]+)">', webpage, 'real id')