renamed method obtain_source_from_url() to make it clearer