mirror of
https://github.com/ION606/ion-cli.git
synced 2026-05-14 22:16:56 +00:00
Removed test line
This commit is contained in:
@@ -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,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;
|
||||
|
||||
Reference in New Issue
Block a user