diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-04-22 11:55:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-22 11:55:58 +0200 |
| commit | f251a9718e16d74714082af12f3edcc47d810d73 (patch) | |
| tree | 552e8210ba47a3559e23946eeb2716a36bed0346 /searx/plugins/https_rules/YouTube.xml | |
| parent | c6d5605d272c963b075bf17eba7407d0a700cd2a (diff) | |
| parent | 247c46c6b0c6e7f4fbbc4642bf288c51dcf20a33 (diff) | |
Merge pull request #9 from return42/drop-https-rewrite
[drop] plugin HTTPS rewrite - rule base is to old (update is to big)
Diffstat (limited to 'searx/plugins/https_rules/YouTube.xml')
| -rw-r--r-- | searx/plugins/https_rules/YouTube.xml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/searx/plugins/https_rules/YouTube.xml b/searx/plugins/https_rules/YouTube.xml deleted file mode 100644 index bddc2a5f3..000000000 --- a/searx/plugins/https_rules/YouTube.xml +++ /dev/null @@ -1,46 +0,0 @@ -<ruleset name="YouTube (partial)"> - - <target host="youtube.com" /> - <target host="*.youtube.com" /> - <exclusion pattern="^http://(?:www\.)?youtube\.com/crossdomain\.xml"/> - <exclusion pattern="^http://(?:www\.)?youtube\.com/(?:apiplayer|api_video_info)"/> - <exclusion pattern="^http://(?:[^/@:\.]+\.)?ytimg\.com/.*apiplayer[0-9]*\.swf"/> - <target host="*.ytimg.com" /> - <target host="youtu.be" /> - <target host="youtube-nocookie.com"/> - <target host="www.youtube-nocookie.com"/> - <target host="*.googlevideo.com"/> - <exclusion pattern="^http://([^/@:\.]+)\.googlevideo\.com/crossdomain\.xml"/> - - - <!-- Not secured by server: - --> - <!--securecookie host="^\.youtube\.com$" name="^(GEUP|PREF|VISITOR_INFO1_LIVE|YSC)$" /--> - - <!-- observed ^. cookies: - - use_hitbox - - VISITOR_INFO1_LIVE - - recently_watched_video_id_list - - .youtube.com --> - <securecookie host="^\.youtube\.com" name=".*"/> - - - <rule from="^http://(www\.)?youtube\.com/" - to="https://$1youtube.com/"/> - - <rule from="^http://(br|de|es|fr|il|img|insight|jp|m|nl|uk)\.youtube\.com/" - to="https://$1.youtube.com/"/> - - <rule from="^http://([^/@:\.]+)\.ytimg\.com/" - to="https://$1.ytimg.com/"/> - - <rule from="^http://youtu\.be/" - to="https://youtu.be/"/> - - <rule from="^http://(?:www\.)?youtube-nocookie\.com/" - to="https://www.youtube-nocookie.com/"/> - - <rule from="^http://([^/@:\.]+)\.googlevideo\.com/" - to="https://$1.googlevideo.com/"/> - -</ruleset> |