py-web-search
py-web-search copied to clipboard
A Python module to fetch and parse results from different search engines.
`from pws import Google` `from pws import Bing` `print(Google.search(query='hello world', num=5, start=2))` `print(Bing.search('hello world', 5, 2))` When I run this example, I get this error: > TypeError: __init__() got an...
When you use this module for searching in Google, there's no JSON response as it sends a simple message with the URL of searching (e.g.: you are looking for 'github',...
This happen when the query is "strange" or maybe too long or syntactically wrong. For example "ASD adasmd asidjkasd" or "All euro2016 matches of the year" (with no space between...
Added duckduckgo.
I using bing search in wikipedia. ``` python >>> from pws import Wikipedia >>> print(Wikipedia.search("hello world",5,2)) ```