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: 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" In-Reply-To: Date: Thu, 13 Jun 2013 14:20:17 -0700 Content-Transfer-Encoding: quoted-printable References: To: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 > Web?Query=3D%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 wrote: > In "Yves S. = Garret" writes: >=20 >> Hello all, >=20 >> This is my dilemma, I'm trying to get the generated JSON file using = the >> bing api search. >=20 >> This is the code that I'm executing from inside the shell: >> http://bin.cakephp.org/view/460660617 >=20 >> The port doesn't matter to me. Thoughts? >=20 > 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? >=20 > --=20 > 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" >=20 > --=20 > http://mail.python.org/mailman/listinfo/python-list >=20