Delete trailing whitespaces
Use cURL instead of Wget