03-09-2014, 09:40 PM
This was made at the request of Sabi.
Basically, you just type what you want and it searches Google with 'allintext: ' before your search. This finds everything within the text of your search.
The imports needed would be webbrowser, and that is all.
We defined 'o' so we can easily use the webbrowser open import instead of typing webbrowser.open.
Those are the two parts of the url that make up this tool, basically we type what we want and it brings it up. The third part is the input for what should be searched.
This is our search, it prompts the user for what is wanted, replaces spacing with %20 and then opens the URL.
This is just the loop and is quite useless to most, but causes it to loop infinitely.
This just tells the program to start with the search definition.
[/hide]
Basically, you just type what you want and it searches Google with 'allintext: ' before your search. This finds everything within the text of your search.
The imports needed would be webbrowser, and that is all.
Hidden Content
We defined 'o' so we can easily use the webbrowser open import instead of typing webbrowser.open.
Hidden Content
Those are the two parts of the url that make up this tool, basically we type what we want and it brings it up. The third part is the input for what should be searched.
Hidden Content
This is our search, it prompts the user for what is wanted, replaces spacing with %20 and then opens the URL.
Hidden Content
This is just the loop and is quite useless to most, but causes it to loop infinitely.
Hidden Content
This just tells the program to start with the search definition.
Hidden Content
[/hide]