1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-03 13:57:54 +01:00

[eroprofile] Update regexes

Fixes #23200.
This commit is contained in:
YetAnotherGhost 2020-01-04 18:11:36 +01:00 committed by GitHub
parent 484637a9cc
commit ed835e1b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,9 +80,9 @@ class EroProfileIE(InfoExtractor):
video_url = unescapeHTML(self._search_regex(
r'<source src="([^"]+)', webpage, 'video url'))
title = self._html_search_regex(
r'Title:</th><td>([^<]+)</td>', webpage, 'title')
r'<h1[^>]*>([^<]+)</h1>', webpage, 'title')
thumbnail = self._search_regex(
r'onclick="showVideoPlayer\(\)"><img src="([^"]+)',
r'<div class="playlistItem current">.*<img src="([^"]+)"',
webpage, 'thumbnail', fatal=False)
return {