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

rules: add 'debugNoBatch' rewrite for fb and insta (#806)

This commit is contained in:
Ilya Kreymer 2023-02-01 10:45:22 -08:00 committed by GitHub
parent d207c76bae
commit 406fad95c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,6 +196,9 @@ rules:
group: 1
function: 'pywb.rewrite.rewrite_dash:rewrite_fb_dash'
- match: '"debugNoBatching\s?":(?:false|0)'
replace: '"debugNoBatching":true'
parse_comments: true
- url_prefix: 'com,facebook'
@ -227,6 +230,9 @@ rules:
- match: '"is_dash_eligible":true'
replace: '"is_dash_eligible":false'
- match: '"debugNoBatching\s?":(?:false|0)'
replace: '"debugNoBatching":true'
fuzzy_lookup: '()'