SHARE
TWEET

Untitled

mattrix Aug 23rd, 2017 189 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if 'key' in data:
  2.             import wvhelper
  3.             if not wvhelper.check_inputstream():
  4.                 return
  5.  
  6.             li.setProperty('inputstreamaddon', 'inputstream.adaptive')
  7.             li.setProperty('inputstream.adaptive.manifest_type', 'mpd')
  8.             li.setProperty('inputstream.adaptive.license_type', 'com.widevine.alpha')
  9.             if headers:
  10.                 li.setProperty('inputstream.adaptive.stream_headers', headers)
  11.             li.setProperty('inputstream.adaptive.license_key', '{0}|Content-Type=application%2Fx-www-form-urlencoded%2F{1}|A{{SSM}}|'.format(data['key'], headers))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top