Php Get Url Without Parameters And Arguments In Python