mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-20 13:24:16 -07:00
Merge 8d2170c713
into a084c80f7b
This commit is contained in:
commit
385948d2cc
1 changed files with 7 additions and 0 deletions
|
@ -59,6 +59,13 @@ class EpornerIE(InfoExtractor):
|
|||
|
||||
video_id = self._match_id(urlh.geturl())
|
||||
|
||||
missing = self._html_search_regex((
|
||||
r'<strong>\s*(Video has been deleted)\s*</strong>',
|
||||
), webpage, 'missing', default=None)
|
||||
if missing:
|
||||
raise ExtractorError(
|
||||
'Video %s is not available: "%s"' % (video_id, missing), expected=True)
|
||||
|
||||
hash = self._search_regex(
|
||||
r'hash\s*[:=]\s*["\']([\da-f]{32})', webpage, 'hash')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue