url lib based on python version