use --og-title
as fallback if template gives blank result
This commit is contained in:
parent
36f2c446af
commit
48a6789d36
@ -4857,7 +4857,7 @@ class HttpCli(object):
|
|||||||
while title.endswith(" - "):
|
while title.endswith(" - "):
|
||||||
title = title[:3]
|
title = title[:3]
|
||||||
|
|
||||||
if vn.flags.get("og_s_title"):
|
if vn.flags.get("og_s_title") or not title:
|
||||||
title = str(vn.flags.get("og_title") or "")
|
title = str(vn.flags.get("og_title") or "")
|
||||||
|
|
||||||
for tag, hname in tagmap.items():
|
for tag, hname in tagmap.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user