Fixed get_url_report method (credit: @John-Lin)