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


Groups > comp.lang.python > #48023

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jm2@studiosola.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.058
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'encoding': 0.05; 'correct.': 0.07; 'json': 0.07; "subject:' ": 0.07; 'api': 0.11; 'edward': 0.16; 'header?': 0.16; 'specifier': 0.16; 'subject:search': 0.16; 'thoughts?': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'trying': 0.19; 'url:view': 0.20; 'to:name:python- list@python.org': 0.22; 'password.': 0.24; 'looks': 0.24; 'header :In-Reply-To:1': 0.27; "doesn't": 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.31; "skip:' 10": 0.31; '13,': 0.31; 'credentials': 0.31; 'search.': 0.31; 'username': 0.31; 'writes:': 0.31; 'file': 0.32; 'another': 0.32; 'url:python': 0.33; 'subject:time': 0.33; '"the': 0.34; 'maybe': 0.34; 'really': 0.36; 'executing': 0.36; 'url:listinfo': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'space': 0.40; 'url:mail': 0.40; 'even': 0.60; 'matter': 0.61; 'john': 0.61; 'header:Message-Id:1': 0.63; 'received:phx3.secureserver.net': 0.65; 'received:prod.phx3.secureserver.net': 0.65; 'subject:get': 0.81; 'email addr:panix.com': 0.84; 'received:68.178.252': 0.84; '2013,': 0.91; 'bears': 0.91; 'mistakenly': 0.91; 'received:68.178': 0.91; 'subject:results': 0.91
Content-Type text/plain; charset=us-ascii
Mime-Version 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject Re: Having a hard time to 'get' bing api search results
From "jm2@studiosola.com" <jm2@studiosola.com>
In-Reply-To <kpdcdp$t8n$1@reader1.panix.com>
Date Thu, 13 Jun 2013 14:20:17 -0700
Content-Transfer-Encoding quoted-printable
References <mailman.3222.1371157061.3114.python-list@python.org> <kpdcdp$t8n$1@reader1.panix.com>
To "python-list@python.org" <python-list@python.org>
X-Mailer Apple Mail (2.1499)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3224.1371158522.3114.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371158522 news.xs4all.nl 15973 [2001:888:2000:d::a6]:44478
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48023

Show key headers only | View raw


> 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
> 

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web