Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48020 > unrolled thread

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

Started by"Yves S. Garret" <yoursurrogategod@gmail.com>
First post2013-06-13 16:57 -0400
Last post2013-06-13 14:20 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Having a hard time to 'get' bing api search results "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-06-13 16:57 -0400
    Re: Having a hard time to 'get' bing api search results John Gordon <gordon@panix.com> - 2013-06-13 21:09 +0000
      Re: Having a hard time to 'get' bing api search results "jm2@studiosola.com" <jm2@studiosola.com> - 2013-06-13 14:20 -0700

#48020 — Having a hard time to 'get' bing api search results

From"Yves S. Garret" <yoursurrogategod@gmail.com>
Date2013-06-13 16:57 -0400
SubjectHaving a hard time to 'get' bing api search results
Message-ID<mailman.3222.1371157061.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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?

[toc] | [next] | [standalone]


#48021

FromJohn Gordon <gordon@panix.com>
Date2013-06-13 21:09 +0000
Message-ID<kpdcdp$t8n$1@reader1.panix.com>
In reply to#48020
In <mailman.3222.1371157061.3114.python-list@python.org> "Yves S. Garret" <yoursurrogategod@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@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [next] | [standalone]


#48023

From"jm2@studiosola.com" <jm2@studiosola.com>
Date2013-06-13 14:20 -0700
Message-ID<mailman.3224.1371158522.3114.python-list@python.org>
In reply to#48021
> 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@panix.com> wrote:

> In <mailman.3222.1371157061.3114.python-list@python.org> "Yves S. Garret" <yoursurrogategod@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@panix.com              B is for Basil, assaulted by bears
>                                -- Edward Gorey, "The Gashlycrumb Tinies"
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web