mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
Update yt_dlp/extractor/spankbang.py
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
This commit is contained in:
parent
e1e2f8ee9e
commit
2e3b852851
1 changed files with 1 additions and 2 deletions
|
@ -131,8 +131,7 @@ class SpankBangIE(InfoExtractor):
|
||||||
og_url = self._search_regex(
|
og_url = self._search_regex(
|
||||||
r'<meta property="og:url" content="(.*?)"', webpage, 'og:url', default=None)
|
r'<meta property="og:url" content="(.*?)"', webpage, 'og:url', default=None)
|
||||||
if og_url:
|
if og_url:
|
||||||
video_id = self._search_regex(
|
video_id = self._search_regex(r'https://spankbang.com/([^/]+)/', og_url, 'video ID', default=None)
|
||||||
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={})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue