开发者

What do I need to read/learn in order to enter a search term into google and fetch the results from console?

Code padawan here teaching myself to code so pardon the ignorance.

I want to be able to enter a search term into console and return the search results from google to be displayed in google.

What do I need to learn/read in order to accomplish this?

UPDATED

  1. Enter search term开发者_如何学Python into console
  2. Program takes this search term and runs it in google search
  3. Take the results of this search query and output the first page to console

I hope this is clearer ^_^


You may want to look at the WebClient class to retrieve results from google.

As for displaying them, I don't quite understand what you mean in your question.

You can always output them to the console.


return the search results from google to be displayed in google.

Could you elaborate what you mean by display in google.

To send a query to google you will probably need an API key otherwise you will get a nastygram unless you change your user agent to something you aren't.

This project might be harder than it seems with all the extra hoops.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜