using cURL instead of file_get_contents to prevent 403 forbidden