aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-16 16:58:07 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-16 16:58:07 +0200
commit51bdadf793ab791e09bf1d355a84cd2c4e2ac42e (patch)
tree0f96f595db42f4ec500083c04535c0dbf7faaefa /src
parent848ae799803a448d7b66f528fd4e033e2b50ffc3 (diff)
Fix age restricted youtube videos
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Youtube.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp
index 993b197..74d0cbe 100644
--- a/src/plugins/Youtube.cpp
+++ b/src/plugins/Youtube.cpp
@@ -2454,7 +2454,11 @@ R"END(
"client": {
"clientName": "ANDROID",
"clientVersion": "16.20",
- "hl": "en"
+ "hl": "en",
+ "clientScreen": "EMBED"
+ },
+ "thirdParty": {
+ "embedUrl": "https://google.com"
}
},
"videoId": "%VIDEO_ID%",