Skip to content

Commit

Permalink
[eroprofile] Update regexes
Browse files Browse the repository at this point in the history
Fixes #23200.
  • Loading branch information
YetAnotherGhost authored Jan 4, 2020
1 parent 484637a commit ed835e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube_dl/extractor/eroprofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def _real_extract(self, url):
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 {
Expand Down

0 comments on commit ed835e1

Please sign in to comment.