 
 get_dellbrueck_tier = (url)->
     new Promise (f, r) ->
-        console.log(url)
+        #console.log('\n' + url + '\n')
         request url, (err, response, body) ->
             if err
                 r err

                sub_urls.push detail_url
            f sub_urls

get_dellbrueck_urls = (url) ->
    new Promise (f, r) ->
            urls = []
            get_dellbrueck_sub_urls url
                .then (sub_urls) ->
                    for sub_url in sub_urls
                      request sub_url, (err, response, body) ->
                          if err
                              r err
                        #  console.log(sub_url)
                          $ = cheerio.load body
                          $('a[style="border-style:none;background-color:#ece9e2;vertical-align:top;font:normal 13px Verdana; color:#756d58"]').each ->
                              elem = $(this)
                              detail_url = dellbrueck_base_url + elem.attr('href')
                              urls.push detail_url
                              console.log(detail_url)
              f urls

get_zollstockdata = (tier_url)->
    new Promise (f, r) ->

                  for url in urls
                      p.push get_dellbrueck_tier url
                  Promise.all p
                    .then (values) ->
                        f values
                    .catch (err) ->
                        r err

get_data = ->
    new Promise (f ,r) ->
