Fix removed hardcoded API version since we get it from sessionInfo
This commit is contained in:
parent
7cbd3c7472
commit
633678404c
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,6 @@ import axios from 'axios';
|
||||||
* exitCode 88 = error extracting cookies
|
* exitCode 88 = error extracting cookies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const ApiVersion = "1.3-private"
|
|
||||||
const args: string[] = process.argv.slice(2); // TODO: Remove this
|
|
||||||
|
|
||||||
const argv = yargs.options({
|
const argv = yargs.options({
|
||||||
videoUrls: { type: 'array', demandOption: true },
|
videoUrls: { type: 'array', demandOption: true },
|
||||||
username: { type: 'string', demandOption: true },
|
username: { type: 'string', demandOption: true },
|
||||||
|
@ -241,6 +238,7 @@ async function getVideoInfo(videoID: string, session: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// We should probably use Mocha or something
|
// We should probably use Mocha or something
|
||||||
|
const args: string[] = process.argv.slice(2);
|
||||||
if (args[0] === 'test')
|
if (args[0] === 'test')
|
||||||
{
|
{
|
||||||
BrowserTests();
|
BrowserTests();
|
||||||
|
|
Loading…
Reference in a new issue