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

yt rules: more general yt rules (#635)

This commit is contained in:
Ilya Kreymer 2021-04-26 21:10:30 -07:00 committed by GitHub
parent ad9b431eaf
commit 5d34018b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -466,7 +466,7 @@ rules:
- match: '(?:"player":|ytplayer\.config).*"args":\s*{'
replace: '{0}"dash":"0","dashmpd":"",'
- match: '"0"==\w+\.dash\&\&'
- match: '"0"\s*?==\s*?\w+\.dash\&\&'
replace: '1&&'