wrjlewis / notion-search-alfred-workflow

An Alfred workflow to search Notion with instant results
GNU General Public License v3.0
831 stars 42 forks source link

Possible search API specification change #50

Closed amrael closed 2 years ago

amrael commented 2 years ago

Before reporting the issue, did you ?

Describe the bug I noticed that the workflow stopped working with a {query} argument a couple of days ago. I assume notion.py may need to be changed in accordance with the new search API spec.

Screenshots image image

Workflow (please complete the following information):

iamstevendao commented 2 years ago

same issue 👍🏻

wrjlewis commented 2 years ago

I'm actually on holiday for a while so it will take me a week to look at this issue. But sounds like an api change, hopefully a minor one.

maryam-mahla commented 2 years ago

Same issue on my side, following the thread closely for update, thank you !

amrael commented 2 years ago

I just got it working again with the changes I made in PR #53

mvaneijgen commented 2 years ago

Just add the hot fix by @amrael and it works!

Go to "Show Alfred Preferences" -> Workflows -> Right click "Notion Search" show in finder -> Open notion.py in a code editor.

Then replace the code with the below version https://github.com/amrael/notion-search-alfred-workflow/blob/hotfix/search-api/notion.py

Or wait for @wrjlewis to push an update.

wrjlewis commented 2 years ago

This has been fixed with v0.4.2