Removed test line

This commit is contained in:
Itamar Oren
2023-02-26 18:01:00 -05:00
parent 7fea6eb7bd
commit 1020faa2c9
2 changed files with 0 additions and 7 deletions
-1
View File
@@ -150,7 +150,6 @@ async function getUrl(name, episode = null) {
async function getAnime(name, subcommand, episode = null) {
return downloadStream("https://xege.vizcloud.club/simple/EqPFIf4QWADtjDlGha7rC8Iu+lwW5ry2Fxh7rqk+wYMnU94US2El_Po4w12g/br/list.m3u8");
switch (subcommand) {
default: getUrl(name, episode);
-6
View File
@@ -6,12 +6,6 @@ export function getAndParse() {
return new Promise((resolve) => {
const argsRaw = [...process.argv].slice(2);
const args = {};
// const keys = {};
// for (const i of argsRaw) {
// if (i.indexOf('--') !== -1) {
// keys[i.split('--')[1]] = argsRaw.indexOf(i)
// }
// }
const keys = argsRaw.join(" ").split("--");
for (const i of keys) {
if (i.length == 0) continue;