What?? This does not belong here lol
Old code that got pushed for some reason
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
import webbrowser
|
|
||||||
|
|
||||||
try:
|
|
||||||
from googlesearch import search
|
|
||||||
except ImportError:
|
|
||||||
print("No module named 'google' found")
|
|
||||||
|
|
||||||
#search_tm = ["never", "gonna", "give", "you", "up"]
|
|
||||||
|
|
||||||
def google_search(search_terms):
|
|
||||||
google_base_link = "https://www.google.com/search?q="
|
|
||||||
|
|
||||||
url = google_base_link + " ".join(search_terms)
|
|
||||||
print(url)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
search_terms = []
|
|
||||||
google_search(search_terms)
|
|
||||||
Reference in New Issue
Block a user