Skip to content

Commit 406fad9

Browse files
authored
rules: add 'debugNoBatch' rewrite for fb and insta (#806)
1 parent d207c76 commit 406fad9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pywb/rules.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ rules:
196196
group: 1
197197
function: 'pywb.rewrite.rewrite_dash:rewrite_fb_dash'
198198

199+
- match: '"debugNoBatching\s?":(?:false|0)'
200+
replace: '"debugNoBatching":true'
201+
199202
parse_comments: true
200203

201204
- url_prefix: 'com,facebook'
@@ -227,6 +230,9 @@ rules:
227230
- match: '"is_dash_eligible":true'
228231
replace: '"is_dash_eligible":false'
229232

233+
- match: '"debugNoBatching\s?":(?:false|0)'
234+
replace: '"debugNoBatching":true'
235+
230236
fuzzy_lookup: '()'
231237

232238

0 commit comments

Comments
 (0)