mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
ytdl_hook: don't try to use webpage_url if non-existent
This commit is contained in:
parent
0a406f97e0
commit
154ff98128
@ -472,7 +472,7 @@ mp.add_hook(o.try_ytdl_first and "on_load" or "on_load_fail", 10, function ()
|
||||
we want, but only if we aren't going to trigger an
|
||||
infinite loop
|
||||
--]]
|
||||
if not self_redirecting_url then
|
||||
if entry["webpage_url"] and not self_redirecting_url then
|
||||
site = entry["webpage_url"]
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user