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

rules: update yt rules

This commit is contained in:
Ilya Kreymer 2020-06-01 19:06:32 -07:00
parent 7e56ca8ca2
commit ed89fcc6f8

View File

@ -456,9 +456,10 @@ rules:
- match: 'yt\.setConfig.*PLAYER_CONFIG.*args":\s*{' - match: 'yt\.setConfig.*PLAYER_CONFIG.*args":\s*{'
replace: '{0} "dash": "0", dashmpd: "", ' replace: '{0} "dash": "0", dashmpd: "", '
- match: '"player":.*"args":{' - match: '(?:"player":|ytplayer\.config).*"args":\s*{'
replace: '{0}"dash":"0","dashmpd":"",' replace: '{0}"dash":"0","dashmpd":"",'
# testing rules -- not for valid domain # testing rules -- not for valid domain
#================================================================= #=================================================================
# this rule block is a non-existent prefix merely for testing # this rule block is a non-existent prefix merely for testing