``url`` needs to be quoted before being embedded in the string. Otherwise if it has a ``?`` or ``&``, it'll mess up your requested URL.