wrjlewis / notion-search-alfred5-workflow Goto Github PK
View Code? Open in Web Editor NEWAn Alfred5 workflow to search Notion with instant results
License: GNU General Public License v3.0
An Alfred5 workflow to search Notion with instant results
License: GNU General Public License v3.0
Add an option to copy the url to clipboard rather than opening in a new browser.
To be added to next release.
https://www.alfredapp.com/help/workflows/advanced/alternative-actions/
Is your feature request related to a problem? Please describe.
I usually say that some websites are saved in notes. After a period of time, some websites become invalid and need to be deleted. At this time, you can quickly find the document through note search alfred5 workflow, but you still need to open it in the webpage and click delete again
Describe the solution you'd like
You can quickly delete this document by holding down โ in Alfred
Describe the bug
Search stopped working. Since the update search was a bit buggy where it wouldn't find keywords in the title where it wasn't in the start of the title, but now search stops all to getter. I do get the initial list (latest visteded?), but as soon as I search I get the following error "title": "There was an error:", "subtitle": "299: 'Payload' object has no attribute 'results'"
Do I need to refresh something? To get it to work again? I've double checked my SpaceID and Cookies and due to the initial load these seem fine
Log
https://gist.github.com/mvaneijgen/cfc0f161532cb8dfd0f01e1c25b5a33e
Workflow (please complete the following information):
Describe the bug
This workflow used to work for me but haven't used it recently, I am trying to use it again but not able to get any results. It stays on "Loading..." after typing ns
. I have checked and added my spaceid and cookie multiple times. I've even reinstalled this workflow and Alfred but still no luck. Debugger output just shows Notion Search[Script Filter] Queuing argument ''
If you could please help me fix the issue, I'd really appreciate it - thank you!
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
To see a list of my pages
Workflow (please complete the following information):
Before reporting the issue, did you ?
notionSpaceId
and cookie
value in Alfred Settings. If you don't know how to do this, check thisI did it
Describe the bug
A clear and concise description of what the bug is.
Setup info
Workflow name: Notion Search
Workflow version: v.0.5.1-alfred5
Alfred version: 5.05
macOS version: 13.0.1
Architecture: (Intel or Apple Silicon) Intel
Description of issue
Hello Vitor,
I used 3 browsers Chrome firefox and safari
and didn't find "spaceId" so I used "notion_user_ id"
I found "notion_browser_id" for cookie
I put those data in "configure workflow" as requested and in [x] in respective defalt value
The workflow doesn't work
Can you tell me where I made a mistake
Thank you
Best regards,
Romaric
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
2 in attachement
Workflow (please complete the following information):
Additional context
Add any other context about the problem here.
Fix with Regex below, to be added to the next release. Thanks to this forum user.
import re
# get notion_user_id from cookie
notion_user_id = re.search('notion_user_id=(.[^;]+);', cookie).group(1)
buildnotionrecentpagevisitsquery(notion_user_id), headers)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.