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

video: update rules to use new location-only rewriter for YT comments

support
This commit is contained in:
Ilya Kreymer 2014-12-07 21:21:51 -08:00
parent 721ab393f0
commit 87d7635f6f

View File

@ -150,6 +150,22 @@ rules:
type: 'domain'
# comments support
- url_prefix: 'com,googleapis,plus)/u/0/_/widget/render/comments'
rewrite:
js_rewrite_location: location
fuzzy_lookup:
- href
- stream_id
- substream_id
- url_prefix: 'com,ytimg,s)/yts/jsbin/'
rewrite:
js_rewrite_location: location
# testing rules -- not for valid domain
#=================================================================