added optional ignore_urls kwarg