判断location非空
This commit is contained in:
@@ -53,6 +53,11 @@ async function fetchURLByAndroid720p() {
|
||||
})
|
||||
|
||||
const location = obj.headers.get("Location")
|
||||
|
||||
|
||||
if (location == "" || location == undefined || location == null) {
|
||||
continue
|
||||
}
|
||||
if (location.startsWith("http://hlsz")) {
|
||||
resObj.url = location
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user