Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eroprofile] Update regexes #23626

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[eroprofile] Update regexes
Fixes #23200.
YetAnotherGhost authored Jan 4, 2020
commit ed835e1b8c23ad0191ea8b152afd068b92d5f767
4 changes: 2 additions & 2 deletions youtube_dl/extractor/eroprofile.py
Original file line number Diff line number Diff line change
@@ -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 {