Update newgrounds.js

This commit is contained in:
hyperdefined 2024-07-17 21:30:10 -04:00
parent 488ea8b1ec
commit 27a1d8dde3
No known key found for this signature in database
GPG Key ID: EB0B55B31E88AB03

View File

@ -2,7 +2,6 @@ import { genericUserAgent } from "../../config.js";
import { cleanString } from "../../sub/utils.js"; import { cleanString } from "../../sub/utils.js";
export default async function(obj) { export default async function(obj) {
console.log(obj.type)
// handle video downloads // handle video downloads
if (obj.type == 'portal') { if (obj.type == 'portal') {
let req = await fetch(`https://www.newgrounds.com/${obj.type}/video/${obj.id}`, { let req = await fetch(`https://www.newgrounds.com/${obj.type}/video/${obj.id}`, {