Having a hard time to 'get' bing api search results

jm2 at studiosola.com jm2 at studiosola.com
Thu Jun 13 17:20:17 EDT 2013


> Web?Query=%27xbox%20one%27&


Plus do you really want to be sending in a %27 (    which is a [     )  vs maybe a %20 (    which is a space   ) or even a %29 (   which is a ]   )

Cross check your URL encoding is correct.

-Kevin





On Jun 13, 2013, at 2:09 PM, John Gordon <gordon at panix.com> wrote:

> In <mailman.3222.1371157061.3114.python-list at python.org> "Yves S. Garret" <yoursurrogategod at gmail.com> writes:
> 
>> Hello all,
> 
>> This is my dilemma, I'm trying to get the generated JSON file using the
>> bing api search.
> 
>> This is the code that I'm executing from inside the shell:
>> http://bin.cakephp.org/view/460660617
> 
>> The port doesn't matter to me.  Thoughts?
> 
> It looks like the code is mistakenly interpreting 'user:AAAAAAAAA' as a port
> specifier instead of a username and password.  Can you supply the credentials
> another way, perhaps in a header?
> 
> -- 
> John Gordon                   A is for Amy, who fell down the stairs
> gordon at panix.com              B is for Basil, assaulted by bears
>                                -- Edward Gorey, "The Gashlycrumb Tinies"
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 




More information about the Python-list mailing list