Browse Source

[iprima] Confirm adult check (closes #17437)

master
Sergey M․ 6 years ago
parent
commit
09322cccdb
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 0 deletions
  1. 2
      youtube_dl/extractor/iprima.py

2
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')

Loading…
Cancel
Save