Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48079
| Subject | Re: Having a hard time to 'get' bing api search results |
|---|---|
| From | Kevin LaTona <lists@studiosola.com> |
| Date | 2013-06-13 15:27 -0700 |
| References | <CAJ=2b05Vooh1V3ZOijtS0Y4AwKLSQdbiRhOKkqwzKi_dJ_3m6w@mail.gmail.com> <CAJ=2b06XgZjYs=vDayBTKTJsASeqJZkXiVQfvucqwBsrQAkGnw@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3263.1371198031.3114.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
>>Queries should be URL encoded; query string should be enclosed in %27 (apostrophe). I was looking at the wrong column on the ascii chart,… so your %27 was correct If you are getting in via a browser than it's url lib thing. You might want to look at Requst lib as a possible option. http://docs.python-requests.org/en/latest/ -Kevin On Jun 13, 2013, at 2:31 PM, Yves S. Garret <yoursurrogategod@gmail.com> wrote: > This is the format that I've been following: > http://gavinmhackeling.com/blog/2012/05/using-the-bing-search-api-in-python/ > > If I execute the specified query from a browser, the JSON file > shows up without a problem. Now, I'd like to do that programmatically. > > > On Thu, Jun 13, 2013 at 4:57 PM, Yves S. Garret <yoursurrogategod@gmail.com> wrote: > 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? > > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Having a hard time to 'get' bing api search results Kevin LaTona <lists@studiosola.com> - 2013-06-13 15:27 -0700
csiph-web