1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-02-07 22:47:24 +00:00
This commit is contained in:
c-basalt
2024-08-02 17:01:20 -04:00
parent 33bacc192b
commit 1bab6aa3a3
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ class RPlayBaseIE(InfoExtractor):
butter_js += '''const navProxy = new Proxy(window.navigator, { get: (target, prop, receiver) => {
if (prop === 'webdriver') return false;
return target[prop];});
return target[prop];}});
Object.defineProperty(window, "navigator", {get: () => navProxy});
window.location = {origin: "https://rplay.live"};'''