searxngRebrandZaclys/searx
Markus Heiser e9a6ab4015 [fix] youtube - send CONSENT Cookie to not be redirected
In the EU there exists a "General Data Protection Regulation" [1] aka GDPR (BTW:
very user friendly!) which requires consent to tracking.  To get the consent
from the user, youtube requests are redirected to confirm and get a CONSENT
Cookie from https://consent.youtube.com

This patch adds a CONSENT Cookie to the youtube request to avoid redirection.

[1] https://en.wikipedia.org/wiki/General_Data_Protection_Regulation

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Reported-by: https://github.com/searx/searx/issues/2774
2021-04-22 12:09:09 +02:00
..
answerers [fix] answers: don't crash when the query is an empty string 2021-03-01 10:52:39 +01:00
data Merge pull request #2712 from searx/update_data_update_firefox_version.py 2021-04-03 23:15:43 +02:00
engines [fix] youtube - send CONSENT Cookie to not be redirected 2021-04-22 12:09:09 +02:00
metrics [mod] metrics: add secondary parameter 2021-04-21 16:24:46 +02:00
network [enh] rewrite and enhance metrics 2021-04-21 16:24:46 +02:00
plugins [drop] plugin HTTPS rewrite - rule base is to old (update is to big) 2021-04-22 11:47:16 +02:00
raise_for_httperror [enh] rewrite and enhance metrics 2021-04-21 16:24:46 +02:00
search [mod] oscar: /preferences , engines tab: report engine times 2021-04-21 16:24:46 +02:00
shared [fix] checker: don't run the checker when uwsgi is not properly configured 2021-01-13 14:07:39 +01:00
static fix issues from review 2021-04-21 18:49:13 +02:00
templates fix issues from review 2021-04-21 18:49:13 +02:00
translations [enh] update translations from transifex 2021-03-27 19:10:54 +01:00
__init__.py fix issues from review 2021-04-21 18:49:13 +02:00
autocomplete.py [httpx] replace searx.poolrequests by searx.network 2021-04-12 17:25:56 +02:00
exceptions.py [enh] add raise_for_httperror 2020-12-11 14:37:08 +01:00
external_bang.py [mod] add utils/fetch_external_bangs.py 2021-02-24 18:48:36 +01:00
external_urls.py [mod] add external_urls.json and wikidata_units.json 2020-10-28 08:09:25 +01:00
languages.py Update searx.data - update_languages.py 2021-03-05 10:56:46 +00:00
preferences.py [fix] default_doi_resolver in preferences 2021-04-04 13:36:33 +02:00
query.py [enh] autocomplete refactoring, autocomplete on external bangs 2021-03-01 19:12:32 +01:00
results.py [mod] metrics: add secondary parameter 2021-04-21 16:24:46 +02:00
settings.yml Merge remote-tracking branch 'searx/master' 2021-04-19 09:35:12 +02:00
settings_loader.py [fix] settings_loader.py - use update_dict only for mapping types 2021-04-05 16:33:48 +02:00
settings_robot.yml Let admins lock user preferences 2020-10-25 18:06:18 +01:00
testing.py [httpx] replace searx.poolrequests by searx.network 2021-04-12 17:25:56 +02:00
utils.py [enh] replace requests by httpx 2021-04-10 15:38:33 +02:00
version.py [enh] release v1.0.0 2021-03-27 20:30:08 +01:00
webadapter.py [enh] add ability to send engine data to subsequent requests 2021-03-06 12:12:35 +01:00
webapp.py [mod] oscar: /preferences , engines tab: report engine times 2021-04-21 16:24:46 +02:00
webutils.py Updated webutils.highlight_content to ignore double-quotes when highlighting query parts 2021-02-08 23:58:54 -05:00