Posted By

vovanmozg on 06/08/16


Tagged

parse zapier


Versions (?)

Parse Zapier apps list


 / Published in: JavaScript
 

URL: https://zapier.com/zapbook/

Paste code in Google Chrome Console

  1. d = []; $('body').append('<table id="kuku"></table>');
  2. $('li.service').each(function() {
  3. line = {
  4. type: ($(this).attr('data-description').match('<div>(.*)</div>'))[1],
  5. //href: $(this).find('a').attr('href'),
  6. name: $(this).find('a p').text(),
  7. desc: $(this).attr('data-description')
  8. };
  9. d.push(line);
  10. $('#kuku').append('<tr><td>'+line.name+'</td><td>'+line.type+'</td><td>'+line.desc+'</td></tr>')
  11. });

Report this snippet  

You need to login to post a comment.