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:
parent
d5fa46da74
commit
97e7fb4ef5
@ -459,6 +459,10 @@ rules:
|
|||||||
- match: '(?:"player":|ytplayer\.config).*"args":\s*{'
|
- match: '(?:"player":|ytplayer\.config).*"args":\s*{'
|
||||||
replace: '{0}"dash":"0","dashmpd":"",'
|
replace: '{0}"dash":"0","dashmpd":"",'
|
||||||
|
|
||||||
|
- match: 'yt\.setConfig.*PLAYER_VARS.*?{'
|
||||||
|
replace: '{0}"dash":"0","dashmpd":"",'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# testing rules -- not for valid domain
|
# testing rules -- not for valid domain
|
||||||
#=================================================================
|
#=================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user