mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-30 14:34:27 +02:00
parent
440d039e2c
commit
d00d94f3dc
@ -23,7 +23,7 @@ export default async function(o) {
|
|||||||
|
|
||||||
const videoLink = [...html.matchAll(videoRegex)]
|
const videoLink = [...html.matchAll(videoRegex)]
|
||||||
.map(([, link]) => link)
|
.map(([, link]) => link)
|
||||||
.find(a => a.endsWith('.mp4') && a.includes('720p'));
|
.find(a => a.endsWith('.mp4'));
|
||||||
|
|
||||||
if (videoLink) return {
|
if (videoLink) return {
|
||||||
urls: videoLink,
|
urls: videoLink,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user