We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbbc255 commit 21aef98Copy full SHA for 21aef98
gkeep2notion.py
@@ -342,7 +342,7 @@ def parseList(list: node.List, page: Page):
342
343
def url2uuid(url: str) -> str:
344
"""Extract UUID part from the notion URL"""
345
- m = re.match(r'^https://(www\.)?notion.so/(.+)([0-9a-f]{32})/?$', url)
+ m = re.match(r'^https://(www\.)?notion.so/(.+)([0-9a-f]{32})', url)
346
if not m:
347
return ''
348
id = m[3]
@@ -361,6 +361,10 @@ def url2uuid(url: str) -> str:
361
362
root_uuid = url2uuid(config.root_url)
363
364
+print(config.root_url, root_uuid)
365
+
366
+quit()
367
368
keep = Keep()
369
login(keep, config.email)
370
0 commit comments