Introduction
Introduction Statistics Contact Development Disclaimer Help
youtube: force older non-polymer youtube layout - frontends - front-ends for so…
Log
Files
Refs
README
LICENSE
---
commit b0b7b93c7cbe102309e630e2fdc1627cd8681cf7
parent 8cd1b1e8bc679d948b001c41826a547b879937bd
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 10 Jun 2020 21:51:11 +0200
youtube: force older non-polymer youtube layout
Force older youtube layout, else youtube will try to randomly serve
a new layout sometimes breaking the parsing.
For now this option seems to work, but requires some testing.
Diffstat:
M youtube/youtube.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/youtube/youtube.c b/youtube/youtube.c
@@ -285,6 +285,10 @@ request_search(const char *s, const char *chan, const char…
strlcat(path, "video_view_count", sizeof(path));
}
+ /* force older youtube layout, else youtube will try to randomly serve
+ a new layout sometimes breaking the parsing */
+ strlcat(path, "&disable_polymer=1", sizeof(path));
+
/* check if request is too long (truncation) */
if (strlen(path) >= sizeof(path) - 1)
return NULL;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.