Skip to content

Commit

Permalink
Merge pull request #17 from ArjunSharda/v1.3.0
Browse files Browse the repository at this point in the history
V1.3.0
  • Loading branch information
ArjunSharda authored Sep 6, 2022
2 parents 9a1ce9f + 93c3d2f commit c2028fb
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
11 changes: 8 additions & 3 deletions Code/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log

Version 1.2.0:
Version 1.3.0:

+ Added custom function
+ Added Apple search function

+ Added Quora search query function
+ Added Target search query function
+ Added Genius search query function
+ Added Twitch search query function
+ Added Stack Overflow search query function
+ Added JetBrains search query function
32 changes: 31 additions & 1 deletion Code/Searchor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def SearchWalmart(query):
query_URL = "https://www.walmart.com/search?q=" + query
return query_URL


def ExploreMicrosoft(query):
query = query.replace(" ", "+")
query_URL = "https://www.microsoft.com/en-us/search/explore?q=" + query
Expand All @@ -68,3 +67,34 @@ def SearchApple(query):
query = query.replace(" ", "-")
query_URL = "https://apple.com/search/" + query
return query_URL

def SearchTarget(query):
query = query.replace(" ", "+")
query_URL = "https://www.target.com/s?searchTerm=" + query
return query_URL

def SearchGenius(query):
query = query.replace(" ", "%20")
query_URL = "https://genius.com/search?q=" + query
return query_URL

def SearchTwitch(query):
query = query.replace(" ", "%20")
query_URL = "https://www.twitch.tv/search?term=" + query
return query_URL

def SearchStackOverflow(query):
query = query.replace(" ", "+")
query_URL = "https://stackoverflow.com/search?q=" + query
return query_URL

def SearchJetBrains(query):
query = query.replace(" ", "+")
jbs = "&s=full"
query_URL = "jetbrains.com/?q=" + query + jbs
return query_URL

def SearchQuora(query):
query = query.replace(" ", "%20")
query_URL = "https://www.quora.com/search?q=" + query
return query_URL

0 comments on commit c2028fb

Please sign in to comment.