add index.js
This commit is contained in:
parent
7540a56622
commit
acad3c34ca
1 changed files with 15 additions and 0 deletions
15
index.js
Normal file
15
index.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
var target = process.argv[2];
|
||||
(async () => {
|
||||
const { YiffRocks } = require("yiff-rocks")
|
||||
const isgd = require("isgd-api")
|
||||
|
||||
for(i = 0; i < 100; i++) {
|
||||
var yiff = await YiffRocks.create(target)
|
||||
target = yiff.fullURL
|
||||
var gd = await isgd.shorten(target)
|
||||
target = gd
|
||||
console.log(target)
|
||||
}
|
||||
|
||||
console.log(target)
|
||||
})();
|
Loading…
Reference in a new issue