mirror of
https://github.com/qist/tvbox.git
synced 2026-11-04 18:53:24 +00:00
1
This commit is contained in:
1 parent
a49268bb5c
commit
23a127de2c
1 file changed
+3
-1
+3
-1
@@ -197,7 +197,9 @@ class Spider(Spider):
|
|||||||
return {'parse': 0, 'url': m3u8, 'header': {}, 'playUrl': ''}
|
return {'parse': 0, 'url': m3u8, 'header': {}, 'playUrl': ''}
|
||||||
stream = self._get_live_stream(m3u8)
|
stream = self._get_live_stream(m3u8)
|
||||||
return {'parse': 0, 'url': stream, 'header': {}, 'playUrl': ''}
|
return {'parse': 0, 'url': stream, 'header': {}, 'playUrl': ''}
|
||||||
|
# m3u8直链(从detailContent传过来的)
|
||||||
|
if id.startswith('http'):
|
||||||
|
return {'parse': 0, 'url': id, 'header': {}, 'playUrl': ''}
|
||||||
# 点播
|
# 点播
|
||||||
parts = id.split('@')
|
parts = id.split('@')
|
||||||
route = parts[0] if len(parts) > 1 else 'play'
|
route = parts[0] if len(parts) > 1 else 'play'
|
||||||
|
|||||||
Reference in new issue
Block a user