15 lines
No EOL
374 B
JavaScript
15 lines
No EOL
374 B
JavaScript
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)
|
|
})(); |