Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.write("<pre>");
- data.ads
- .map(
- ad => {
- return {id: ad.id, olxId: /ID([a-zA-Z0-9]{5})/.exec(ad.url)[1]}
- }
- )
- .forEach(
- x => document.write(x.id + ": \"" + x.olxId + "\"\n")
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement