Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async function searchTotoz() {
- const res = await fetch('http://totoz.eu/search.xml...')
- const xml = await res.text()
- const obj = xmljs.xml2js(xml)
- const totozes = obj.totozes.totoz
- const results = obj.totozes.results
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement