mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 19:28:29 +00:00
Update newgrounds.js
This commit is contained in:
parent
488ea8b1ec
commit
27a1d8dde3
@ -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}`, {
|
||||||
|
Loading…
Reference in New Issue
Block a user