Closed bradydjohnson closed 4 years ago
(Thanks to an answer from the Alfred forum):
Search for the words (there should be 2 instances)
Replace the text with:
notion://www.notion.so/
Added a pull request to do this + do Notion "Search in Title" only (invoke by "nt") https://github.com/wrjlewis/notion-search-alfred-workflow/pull/8
Suggest close this issue on PR approval
I had to refactor the way the script works pretty heavily, to allow for easier debugging, version control, and diffs. The code now lives in a python script separately and I'm using the releases feature on Github. For this particular issue above, you'll find a new env variable that controls whether the workflow uses the notion desktop client or the web version.
Re: this tip:
Where exactly in the script? In every instance of "https://www.notion.so"? Just the line beginning with "searchResultObject.link"?