1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-22 12:45:36 +08:00

Update porn91.py

This commit is contained in:
Sergey M 2019-07-14 02:57:15 +07:00 committed by GitHub
parent dfa7f92ba3
commit 7b06429576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,8 +40,8 @@ class Porn91IE(InfoExtractor):
title = title.replace('\n', '')
video_link_url = self._search_regex(
r'<textarea[^>]+id=(["\'])fm-video_link\1[^>]*>(?P<video_link_url>[^<]+)</textarea>',
webpage, 'video_link_url', group='video_link_url')
r'<textarea[^>]+id=["\']fm-video_link[^>]+>([^<]+)</textarea>',
webpage, 'video link')
videopage = self._download_webpage(video_link_url, video_id)
info_dict = self._parse_html5_media_entries(url, videopage, video_id)[0]