mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
rules: improve yt rules! disable dash directly html5player
This commit is contained in:
parent
589eb6513c
commit
efc690ec97
@ -258,18 +258,19 @@ rules:
|
|||||||
- url_prefix: 'com,googleapis,plus)/u/0/_/widget/render/comments'
|
- url_prefix: 'com,googleapis,plus)/u/0/_/widget/render/comments'
|
||||||
|
|
||||||
rewrite:
|
rewrite:
|
||||||
js_rewrite_location: location
|
js_rewrite_location: location
|
||||||
|
|
||||||
fuzzy_lookup:
|
fuzzy_lookup:
|
||||||
- href
|
- href
|
||||||
- stream_id
|
- stream_id
|
||||||
- substream_id
|
- substream_id
|
||||||
|
|
||||||
- url_prefix: 'com,ytimg,s)/yts/jsbin/'
|
- url_prefix: 'com,ytimg,s)/yts/jsbin/html5player-new'
|
||||||
|
|
||||||
rewrite:
|
rewrite:
|
||||||
js_rewrite_location: location
|
js_regexs:
|
||||||
|
- match: '\"0\"\=\=c\.dash'
|
||||||
|
replace: 'c.dash="0";c.dashmpd="";{0}'
|
||||||
|
|
||||||
# watch and embed config changes
|
# watch and embed config changes
|
||||||
- url_prefix: ['com,youtube)/', 'com,youtube-nocookie)/']
|
- url_prefix: ['com,youtube)/', 'com,youtube-nocookie)/']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user