{
preview: {
url: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQpttHz6N94mnwy5NbULk733B3srNYPMsmaYQ&usqp=CAU',
- size: { width: 168, height: 300 }
+ size: { width: 300, height: 168 }
},
image: {
url: 'https://en.free-wallpapers.su/data/media/3/big/anm5679.jpg',
- size: { width: 1080, height: 1920 }
+ size: { width: 1920, height: 1080 }
},
color: 'rgb(232,190,194)',
link: 'https://en.free-wallpapers.su/img116919.htm',
let t = typeof v;
let p = path + "." + k
-
if (t == "object")
found = found.concat(findStrings(v, p));
else if (t == "string")
- found.push([v, p]);
+ found.push([v, p]);
}
return found;
return {
url: elem[0],
size: {
- width: elem[1],
- height: elem[2],
+ width: elem[2],
+ height: elem[1],
}
}
};
.then(scripts => scripts.map(script => script.children[0]?.data))
.then(scripts => scripts.filter(script => script?.search("http") >= 0))
.then(scripts => scripts[4])
- .then(script => script.slice("AF_initDataCallback(".length, script.length - ");".length))
+ .then(script => script.slice("AF_ini2tDataCallback(".length, script.length - ");".length))
.then(jsonic)
.then(data => data.data[31][0][12][2])
.then(data => data.map(elem => elem[1]))