Unsupported Format Character '&' (0x26)

Andrew Evans randrange at gmail.com
Wed Aug 18 19:35:23 EDT 2010


I get an error message "Unsupported Format Character '&' (0x26)" I narrowed
it down to these two variables

any idea how to fix it?

  SEARCH_URL_0 = "
http://search.yahoo.com/search;_ylt=A0oGdEf1XGxMJRoAUdml87UF;_ylc=X1MDMjE0MjQ3ODk0OARfcgMyBGZyA3NmcARuX2dwcwMxMARvcmlnaW4Dc3ljBHF1ZXJ5A3Rlc3QEc2FvAzE-?p=%(query)&fr=sfp&fr2=&iscqry=
"
    NEXT_PAGE_0 = "
http://search.yahoo.com/search;_ylt=A0oGdEEMXWxMnBAAiWhXNyoA?p=%(query)&fr=sfp&xargs=12KPjg1qNyy4-MkfqnfKqLCLLAhlMFta2E&pstart=%(start)&b=11
"



Not sure why its doing it the value in parenthesis should work %(query) etc

Any ideas cheeers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100818/4a7d5f3a/attachment.html>


More information about the Python-list mailing list