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

rules: improve yt rules! disable dash directly html5player

This commit is contained in:
Ilya Kreymer 2015-09-14 19:25:32 -07:00
parent 589eb6513c
commit efc690ec97

View File

@ -265,11 +265,12 @@ rules:
- stream_id
- substream_id
- url_prefix: 'com,ytimg,s)/yts/jsbin/'
- url_prefix: 'com,ytimg,s)/yts/jsbin/html5player-new'
rewrite:
js_rewrite_location: location
js_regexs:
- match: '\"0\"\=\=c\.dash'
replace: 'c.dash="0";c.dashmpd="";{0}'
# watch and embed config changes
- url_prefix: ['com,youtube)/', 'com,youtube-nocookie)/']