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

rules: rewrite location string for periscope js

This commit is contained in:
Ilya Kreymer 2016-09-12 20:07:14 -07:00
parent 1a37d789ed
commit 70fdaae2b3

View File

@ -135,6 +135,15 @@ rules:
fuzzy_lookup: 'com,google,plus\)/_/.*?.*(f.sid=[^&]+)'
# periscope
#=================================================================
- url_prefix: 'tv,periscope,assets)/js/'
rewrite:
js_regexs:
- match: '"location"'
replace: '"WB_wombat_location"'
# vimeo rules
#=================================================================