[bunkr] fix filename extraction (#7237)
This commit is contained in:
@@ -189,8 +189,7 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor):
|
|||||||
else:
|
else:
|
||||||
file_url = data["url"]
|
file_url = data["url"]
|
||||||
|
|
||||||
file_name = (text.extr(page, 'property="og:title" content="', '"') or
|
file_name = text.extr(page, "<h1", "<").rpartition(">")[2]
|
||||||
text.extr(page, "<title>", " | Bunkr<"))
|
|
||||||
fallback = text.extr(page, 'property="og:url" content="', '"')
|
fallback = text.extr(page, 'property="og:url" content="', '"')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user