Advertisement
rgruber

pixoto

Aug 7th, 2022
742
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var l1=await fetch("https://www.pixoto.com/images-photography/all/all/leading/in-august-2022?json=true&limit=100").then(r=>r.json());document.body.innerHTML="";
  2. for (var x of l1.list) {
  3.     var img=document.createElement("img");img.loading="lazy";img.src=x.url+"=s2560";img.onclick=function(){window.open('//pixoto.com/'+x.detailUrl);};img.style="display:block;object-fit: contain;";document.body.appendChild(img);
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement