update SrcParseS.js.

pull/1/head
src48597962 3 years ago committed by Gitee
parent 4b62d59c4f
commit 285f9e7e41
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 2
      SrcParseS.js

@ -640,7 +640,7 @@ var SrcParseS = {
var gethtml = getjson.body;
var rurl = "";
try {
rurl = JSON.parse(gethtml).url||JSON.parse(gethtml).data||JSON.parse(gethtml).data.url;
rurl = JSON.parse(gethtml).url||JSON.parse(gethtml).data.url||JSON.parse(gethtml).data;
} catch (e) {
if(/\.m3u8|\.mp4/.test(getjson.url)&&getjson.url.indexOf('=http')==-1){
rurl = getjson.url;

Loading…
Cancel
Save