chore: a bit of better matching

This commit is contained in:
Snazzah 2024-04-15 21:46:52 -05:00
parent 48c48c61de
commit 7ac9c2895b
No known key found for this signature in database
GPG Key ID: EA479766A94CEB61

View File

@ -1,6 +1,6 @@
import { genericUserAgent } from "../../config.js"; import { genericUserAgent } from "../../config.js";
const SPOTLIGHT_VIDEO_REGEX = /<link data-react-helmet="true" rel="preload" href="(https:\/\/cf-st\.sc-cdn\.net\/d\/[\w.?=]+&amp;uc=46)" as="video"\/>/; const SPOTLIGHT_VIDEO_REGEX = /<link data-react-helmet="true" rel="preload" href="(https:\/\/cf-st\.sc-cdn\.net\/d\/[\w.?=]+&amp;uc=\d+)" as="video"\/>/;
export default async function(obj) { export default async function(obj) {
let link; let link;