 get_data = ->
   Promise.all [get_tierschutzdata(), get_tierfreundedata()]
     .then (list_of_values) ->
-      data = JSON.stringify(_.union.apply(null, list_of_values))
+      values = _.filter list_of_values, (o) -> return !(_.isEmpty(o))
+      data = JSON.stringify(_.union.apply(null, values))
       cache.setAsync 'tiere', data
         .then ->
           d = new Date()

    request url, (err, response, body) ->
      if err
        r err
      d = new Date()
      console.info '%s - %s: %s', d.toISOString(), "Scraping", url
      $ = cheerio.load body
      content = $('table')
      name = content.find('.Stil2').text().replace /"/g, ''
      img = content.find('img').attr('src')
      pic = tierschutz_base_url + 'vermittlung/' + img
      id = img.split '.', 1
      id = id[0].split '/'
      content.find('.Stil2').remove()
      content.find('p').first().remove()
      content.find('p').last().remove()
      content.find('p').each ->
        elem = $(this)
        elem.remove() if elem.text().trim().split(/\s+/).length < 10
        elem.remove() if /^-/.test elem.text().trim()
      details =
        id: id[-1..][0]
        pic: encodeURI pic
        name: name
        link: url
        desc: content.find('.Stil1')
          .text().replace(/\n/g, '')
          .replace(/\r/g, '')
          .replace(/\t/g, '')
          .trim()
      f details

get_tierschutzUrls = (url) ->
  new Promise (f, r) ->

    request url, (err, response, body) ->
      if err
        r err
      try
        d = new Date()
        console.info '%s - %s: %s', d.toISOString(), "Scraping", url
        $ = cheerio.load body
        content = $('#content')
        name = content.find('h1').text()
        img = content.find('img').attr('src')
        pic = tierfreunde_base_url + img
        id = img.split '.', 1
        id = id[0].split '/'
        content.find('h1').remove()
        content.find('a').remove()
        details =
          id: id[-1..][0]
          pic: encodeURI pic
          name: name
          link: url
          desc: content
            .text().replace(/\n/g, '')
            .replace(/\r/g, '')
            .replace(/\t/g, '')
            .trim()
        f details
      catch err
        console.error err
        f {}

get_tierfreundeUrls = (url) ->
  new Promise (f, r) ->
