Where it says `from urllib import quote, urlencode` now it's `from urllib.parse import quote, urlencode`
Where it says
from urllib import quote, urlencodenow it's
from urllib.parse import quote, urlencode