From ed89fcc6f8e33c30fa2896bfdea34bb318f7bf9e Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Mon, 1 Jun 2020 19:06:32 -0700 Subject: [PATCH] rules: update yt rules --- pywb/rules.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pywb/rules.yaml b/pywb/rules.yaml index b189b460..2760050d 100644 --- a/pywb/rules.yaml +++ b/pywb/rules.yaml @@ -456,9 +456,10 @@ rules: - match: 'yt\.setConfig.*PLAYER_CONFIG.*args":\s*{' replace: '{0} "dash": "0", dashmpd: "", ' - - match: '"player":.*"args":{' + - match: '(?:"player":|ytplayer\.config).*"args":\s*{' replace: '{0}"dash":"0","dashmpd":"",' + # testing rules -- not for valid domain #================================================================= # this rule block is a non-existent prefix merely for testing