Skip to content

Commit

Permalink
0.0.4 forgot to commit
Browse files Browse the repository at this point in the history
but release is available
  • Loading branch information
MF366-Coding committed Jul 4, 2023
1 parent 46dece2 commit 47f3f42
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
Binary file removed dist/simple_webbrowser-0.0.3-py3-none-any.whl
Binary file not shown.
Binary file removed dist/simple_webbrowser-0.0.3.tar.gz
Binary file not shown.
Binary file added dist/simple_webbrowser-0.0.4-py3-none-any.whl
Binary file not shown.
Binary file added dist/simple_webbrowser-0.0.4.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "simple_webbrowser"
version = "0.0.3"
version = "0.0.4"
authors = [
{ name="MF366", email="[email protected]" },
]
Expand Down
17 changes: 17 additions & 0 deletions src/simple_webbrowser/simple_webbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,56 +13,73 @@ def Website(url):
webbrowser.open(url)

def Google(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open('https://www.google.com/search?q='+typed)

def Brave(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open('https://search.brave.com/search?q='+typed)

def Bing(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open('https://www.bing.com/search?q='+typed)

def Yahoo(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open("https://search.yahoo.com/search?p="+typed)

def DuckDuckGo(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open("https://duckduckgo.com/?q="+typed)

def YouTube(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open("https://www.youtube.com/results?search_query="+typed)

def Ecosia(query):
query = str(query)
for i in query:
typed = query.replace(' ', '%20')
webbrowser.open("https://www.ecosia.org/search?method=index&q="+typed)

def StackOverflow(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open("https://stackoverflow.com/search?q="+typed)

def SoundCloud(query):
query = str(query)
for i in query:
typed = query.replace(' ', '%20')
webbrowser.open("https://soundcloud.com/search?q="+typed)

def Archive(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open("https://archive.org/search?query="+typed)

def Qwant(query):
query = str(query)
for i in query:
typed = query.replace(' ', '+')
webbrowser.open("https://www.qwant.com/?q="+typed)

def SpotifyOnline(query):
query = str(query)
for i in query:
typed = query.replace(' ', '%20')
webbrowser.open("https://open.spotify.com/search/"+typed)

0 comments on commit 47f3f42

Please sign in to comment.