(self,param)
| 319 | return [200, "application/octet-stream", action, content] |
| 320 | |
| 321 | def localProxy(self,param): |
| 322 | if not self.login(): |
| 323 | return {} |
| 324 | typ = param['type'] |
| 325 | if typ == "m3u8": |
| 326 | return self.proxyM3U8(param) |
| 327 | if typ == "media": |
| 328 | return self.proxyMedia(param) |
| 329 | return None |
| 330 | |
| 331 | def getToken(self,shareId,sharePwd): |
| 332 | self.localTime = int(time.time()) |
nothing calls this directly
no test coverage detected