Guest User

Untitled

a guest
Aug 20th, 2019
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. var url = "url"
  3. s=document.createElement('script');// create script element
  4. s.src= url;
  5. document.body.appendChild(s);
  6. function recuperar(root) {
  7. var items = root.findItemsByKeywordsResponse[0].searchResult[0].item || [];
  8. var html = [];
  9. console.log(items);
  10. for (var i = 0; i < items.length; ++i) {
  11. var item = items[i];
  12. var title = item.title;
  13. console.log(title);
  14. var pic = item.galleryURL;
  15. var viewitem = item.viewItemURL;
  16. }
RAW Paste Data