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:
parent
721ab393f0
commit
87d7635f6f
@ -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
|
||||
#=================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user