Skip to content

Commit

Permalink
Merge pull request #23 from ArjunSharda/v1.4.0
Browse files Browse the repository at this point in the history
V1.4.0
  • Loading branch information
ArjunSharda authored Sep 9, 2022
2 parents 77913b8 + 97d0433 commit 88e5543
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 8 deletions.
19 changes: 12 additions & 7 deletions Code/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
Change Log

Version 1.3.0:
Version 1.4.0:


+ 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
+ Added Urban Dictionary search queries function
+ Added Reddit search queries function
+ Added Lenovo search queries function
+ Added Crunchyroll search queries function (with beta option as default)
+ Added InstantGaming search queries function
+ Added Textures search queries function
+ Added Chrome Web Store search queries function
+ Added Opera search queries function
+ Added LinkedIn search queries function
+ Added Mmoga search queries function
+ Added Facebook search queries function
60 changes: 60 additions & 0 deletions Code/Searchor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,63 @@ def SearchQuora(query):
query = query.replace(" ", "%20")
query_URL = "https://www.quora.com/search?q=" + query
return query_URL

def SearchUrbanDictionary(query):
query = query.replace(" ", "%20")
query_URL = "https://www.urbandictionary.com/define.php?term=" + query
return query_URL

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

def SearchLenovo(query):
query = query.replace(" ", "%20")
query_URL = "https://www.lenovo.com/us/en/search?fq=&text=" + query
return query_URL

def SearchInstantGaming(query):
query = query.replace(" ", "%20")
query_URL = "https://www.instant-gaming.com/en/search/?query=" + query
return query_URL

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

def SearchCrunchyroll(query, beta=True):
query = query.replace(" ", "+")
query_URL = "https://www.crunchyroll.com/search?from=&q=" + query

if beta:
query = query.replace("+", "%20")
query_URL = "https://beta.crunchyroll.com/search?q=" + query

return query_URL

def SearchLinkedIn(query):
query = query.replace(" ", "%20")
query_URL = "https://www.linkedin.com/search/results/all/?keywords=" + query
return query_URL

def SearchChromeWebStore(query):
query = query.replace(" ", "%20")
query_URL = "https://chrome.google.com/webstore/search/" + query
return query_URL

def SearchOperaAddons(query):
query = query.replace(" ", "+")
query_URL = "https://addons.opera.com/de/search/?query=" + query
return query_URL

def SearchMmoga(query):
query = query.replace(" ", "+")
query_URL = "https://www.mmoga.com/advanced_search.php?keywords=" + query
return query_URL

def SearchFacebook(query):
query = query.replace(" ", "%20")
query_URL = "https://www.facebook.com/search/top?q=" + query
return query_URL
2 changes: 1 addition & 1 deletion Code/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='Searchor',
version='1.2.0',
version='1.4.0',
description='⚡️ Spend less time making search functions for search engines + more',
long_description=open('README.txt').read() + '\n\n' + open('CHANGELOG.txt').read(),
url='https://github.com/ArjunSharda/Searchor',
Expand Down

0 comments on commit 88e5543

Please sign in to comment.