mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 21:23:05 +00:00
Merge 2e3b852851
into b83ca24eb7
This commit is contained in:
commit
c5a9e88fe1
@ -127,6 +127,11 @@ class SpankBangIE(InfoExtractor):
|
|||||||
format_url = format_url[0]
|
format_url = format_url[0]
|
||||||
extract_format(format_id, format_url)
|
extract_format(format_id, format_url)
|
||||||
|
|
||||||
|
og_url = self._search_regex(
|
||||||
|
r'<meta property="og:url" content="(.*?)"', webpage, 'og:url', default=None)
|
||||||
|
if og_url:
|
||||||
|
video_id = self._search_regex(r'https://spankbang.com/([^/]+)/', og_url, 'video ID', default=None)
|
||||||
|
|
||||||
info = self._search_json_ld(webpage, video_id, default={})
|
info = self._search_json_ld(webpage, video_id, default={})
|
||||||
|
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
|
Loading…
Reference in New Issue
Block a user