1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

rules: add new yt rewrite rule

This commit is contained in:
Ilya Kreymer 2020-10-20 22:28:30 -07:00
parent d5fa46da74
commit 97e7fb4ef5

View File

@ -459,6 +459,10 @@ rules:
- match: '(?:"player":|ytplayer\.config).*"args":\s*{'
replace: '{0}"dash":"0","dashmpd":"",'
- match: 'yt\.setConfig.*PLAYER_VARS.*?{'
replace: '{0}"dash":"0","dashmpd":"",'
# testing rules -- not for valid domain
#=================================================================