added recursivity to get_markup method in case of liburl error