Skip to content

Commit

Permalink
rules: add 'debugNoBatch' rewrite for fb and insta (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer authored Feb 1, 2023
1 parent d207c76 commit 406fad9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pywb/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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: '()'


Expand Down

0 comments on commit 406fad9

Please sign in to comment.