-
Notifications
You must be signed in to change notification settings - Fork 247
Description
IMPORTANT: If your issue is related to missing content on page, please review the Troubleshooting instructions and open your issue on the Defuddle repo.
https://help.obsidian.md/web-clipper/troubleshoot
Version (please complete the following information):
- OS: [IOS]
- Browser: [Safari]
- Web Clipper version: [ 0.12.0]
- Obsidian version: [1.9.14]
Describe the bug
I have successfully set up Obsidian web clipper on IOS and Safari to create pages on obsidian for YouTube videos. If I enable the interpreter to get ChatGPT to summarize the page I get an error.
My understanding is that IOS forces a dialog to open obsidian and save the page, which means user intervention is required to save the obsidian page. The interpreter seems to try to save directly without the dialog, resulting in an error
Expected behavior
I would expect that the clipper tool should handle the returned data from the interpreter/chatGPT, build the page contents and then include the IOS dialogues to save the pages in the same way as when the interpreter is disabled.
What did you expect to happen?
URLs where the bug occurs
Not specific to any web page.
To reproduce
Steps to reproduce the behavior:
- Go to any webpage
- Click on obsidian plugin (which has been configured with a template for ChatGPT interpretation)
- Excecute the plugin
- See error ”Falied to save file”
- Note, that some red error message shows briefly but dissappears to quickly to read.
Your template file
If you are using a custom template (i.e. not the Default template). Go to Web Clipper settings and click More → Copy as JSON. Paste the JSON code below.
{
"schemaVersion": "0.1.0",
"name": "YouTube",
"behavior": "create",
"noteContentFormat": "{{content}}\n\n# Key learnings from the video\n{{\"Summarize the video in 5 key bullet points\"|list}}",
"properties": [
{
"name": "title",
"value": "{{title}}",
"type": "text"
},
{
"name": "author",
"value": "{{schema:@VideoObject:author}}",
"type": "multitext"
},
{
"name": "thumbnail",
"value": "{{schema:@VideoObject:thumbnailUrl|replace:'[\\\\\"',''|replace:'\\\\\"]',''}}",
"type": "text"
}
],
"triggers": [
"https://www.youtube.com/watch?v"
],
"noteNameFormat": "{{date:YYYY-MM-DD}} {{title|slug|truncate:80}}",
"path": "00-Inbox/Clippings/Youtube"
}