mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 17:02:30 +00:00
[animeondemand] Extract teaser when no full episode available (#8923)
This commit is contained in:
parent
5c69f7a479
commit
85c637b737
@ -225,6 +225,8 @@ def _real_extract(self, url):
|
||||
})
|
||||
entries.append(f)
|
||||
|
||||
# Extract teaser only when full episode is not available
|
||||
if not formats:
|
||||
m = re.search(
|
||||
r'data-dialog-header=(["\'])(?P<title>.+?)\1[^>]+href=(["\'])(?P<href>.+?)\3[^>]*>Teaser<',
|
||||
episode_html)
|
||||
|
Loading…
Reference in New Issue
Block a user