Advertisement
Guest User

Untitled

a guest
Nov 14th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. async function searchTotoz() {
  2. const res = await fetch('http://totoz.eu/search.xml...')
  3. const xml = await res.text()
  4. const obj = xmljs.xml2js(xml)
  5. const totozes = obj.totozes.totoz
  6. const results = obj.totozes.results
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement