mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
rules: tweak better twitter rules, more limited custom rules, hopefully fix inline video
This commit is contained in:
parent
76ebabd3f2
commit
9333ebc843
@ -6,16 +6,21 @@ rules:
|
|||||||
|
|
||||||
fuzzy_lookup: '/profiles/show/.*with_replies\?.*(max_id=[^&]+)'
|
fuzzy_lookup: '/profiles/show/.*with_replies\?.*(max_id=[^&]+)'
|
||||||
|
|
||||||
# - url_prefix: 'com,twimg,abs)/c/'
|
- url_prefix: 'com,twimg,abs)/c/swift/en/bundle/boot'
|
||||||
|
|
||||||
# rewrite:
|
|
||||||
# js_rewrite_location: urls
|
|
||||||
|
|
||||||
|
|
||||||
- url_prefix: 'com,twimg,ton)/'
|
|
||||||
|
|
||||||
rewrite:
|
rewrite:
|
||||||
js_rewrite_location: urls
|
js_rewrite_location: urls
|
||||||
|
js_regexs:
|
||||||
|
- match: 'window.location'
|
||||||
|
replace: 'window.WB_wombat_location'
|
||||||
|
|
||||||
|
- match: 'document.location'
|
||||||
|
replace: 'document.WB_wombat_location'
|
||||||
|
|
||||||
|
#- url_prefix: 'com,twimg,ton)/'
|
||||||
|
|
||||||
|
# rewrite:
|
||||||
|
# js_rewrite_location: all
|
||||||
|
|
||||||
- url_prefix: 'com,twimg,amp)/amplify-web-player/prod/js/build.min.js'
|
- url_prefix: 'com,twimg,amp)/amplify-web-player/prod/js/build.min.js'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user