|
@@ -226,7 +226,7 @@ detail = async (url, requestId, platform) => {
|
|
console.log(`after android api, format size:${originFormats.length}`);
|
|
console.log(`after android api, format size:${originFormats.length}`);
|
|
|
|
|
|
let audioUrl = ""
|
|
let audioUrl = ""
|
|
- for (let format of originFormats) {
|
|
|
|
|
|
+ for (let format of [...originFormats].reverse()) {
|
|
if (format["url"]) {
|
|
if (format["url"]) {
|
|
const {vcodec, acodec} = parseCodecs(format)
|
|
const {vcodec, acodec} = parseCodecs(format)
|
|
if (!vcodec && acodec) {
|
|
if (!vcodec && acodec) {
|