mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-07-18 17:34:13 +09:00
Merge c15351641cb260e081077c2adceaf7cc84e65d7b into 711e72c292327674c4a0593fdbb83d6347738ec9
This commit is contained in:
commit
3780212e3c
@ -59,6 +59,11 @@ class EpornerIE(InfoExtractor):
|
||||
|
||||
video_id = self._match_id(urlh.geturl())
|
||||
|
||||
deleted = self._html_search_regex(r'<strong>Video has been deleted</strong>', webpage, 'deleted', default=False, fatal=False, group=0)
|
||||
if deleted:
|
||||
raise ExtractorError(
|
||||
'Video %s has been deleted' % video_id, expected=True)
|
||||
|
||||
hash = self._search_regex(
|
||||
r'hash\s*[:=]\s*["\']([\da-f]{32})', webpage, 'hash')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user