Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed crunchbase plugin #553

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion PluginDirectories/1/crunchbase.bundle/1.version

This file was deleted.

Binary file removed PluginDirectories/1/crunchbase.bundle/Icon.png
Binary file not shown.
3 changes: 0 additions & 3 deletions PluginDirectories/1/crunchbase.bundle/examples.txt

This file was deleted.

7 changes: 0 additions & 7 deletions PluginDirectories/1/crunchbase.bundle/info.json

This file was deleted.

1 change: 1 addition & 0 deletions PluginDirectories/1/thesaurus.bundle/2.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
707e3fd32b472c68047f8a9eb066acc20461f02c0d7bd59503ce7f3ba73401d1
Binary file added PluginDirectories/1/thesaurus.bundle/Info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions PluginDirectories/1/thesaurus.bundle/examples.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
thesaurus ~thesaurusquery(query here)
search thesaurus for ~thesaurusquery(query here)
find ~thesaurusquery(appreciative) on thesaurus
7 changes: 7 additions & 0 deletions PluginDirectories/1/thesaurus.bundle/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "thesaurus",
"displayName": "Thesaurus",
"description": "Quickly find synonyms and antonyms.",
"examples": ["thesaurus innovative", "thesaurus thankful"],
"categories": ["Search"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

def results(parsed, original_query):
search_specs = [
["CrunchBase", "~crunchbasequery", "http://www.crunchbase.com/search?query="]
["Thesaurus", "~thesaurusquery", "http://thesaurus.com/browse/"]
]
for name, key, url in search_specs:
if key in parsed:
Expand All @@ -17,7 +17,7 @@ def results(parsed, original_query):
}, 100);
</script>
"""%(json.dumps(search_url)),
"webview_user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53",
"webview_user_agent": "Mozilla/5.0 AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53",
"webview_links_open_in_browser": True
}

Expand Down