From 01ae1efc8674aeb5127509edebb9015d7d780157 Mon Sep 17 00:00:00 2001 From: girst Date: Fri, 7 Aug 2020 16:54:51 +0200 Subject: [PATCH] Revert "useless youtube.com cargoculting" This reverts commit d3b80d96aec748b19f08e8757ae847ce66b4df68. --- app/dangerous/lib.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/dangerous/lib.py b/app/dangerous/lib.py index 36a5b5a..c798b0d 100644 --- a/app/dangerous/lib.py +++ b/app/dangerous/lib.py @@ -27,7 +27,6 @@ def fetch_ajax(params): for _ in range(3): # sometimes, this endpoint returns an error and retrying once helps: r = requests.get(f"https://www.youtube.com/browse_ajax", { - 'ctoken': params, # not necessary, but youtube sends it. 'continuation': params, 'gl': 'US', 'hl': 'en', -- 2.39.3