Skip to content

Can not archive Instagram Posts #225

@rotlaus

Description

@rotlaus

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

I copy the URL of an Instagram Post into my clipboard, press the 'ReadItLater: Create from clipboard' Button and a new Note with the Content will be created.

Current behaviour

I copy the URL of an Instagram Post into my clipboard, press the 'ReadItLater: Create from clipboard' Button and nothing happens.

There is an Error in the Developer Console:

plugin:obsidian-read-it-later:175 
Uncaught (in promise) RangeError: Failed to construct 'TextDecoder': The encoding label provided ('"utf-8"') is invalid.
    at ea.parseHtmlDom (plugin:obsidian-read-it-later:175:6556)
    at async ea.getDocument (plugin:obsidian-read-it-later:175:2780)
    at async ea.prepareNote (plugin:obsidian-read-it-later:175:1967)
    at async ni.makeNote (plugin:obsidian-read-it-later:186:1257)
    at async ni.createNote (plugin:obsidian-read-it-later:186:718)
parseHtmlDom @ plugin:obsidian-read-it-later:175
await in parseHtmlDom
processContent @ plugin:obsidian-read-it-later:186
eval @ plugin:obsidian-read-it-later:197

Steps to reproduce

Copy an Instagram Link like this post for example to your clipboard and press the 'ReadItLater: Create from clipboard' Button

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version

1.8.4

Plugin Version

0.11.4

Checks

  • I have tried it with all other plugins disabled and the error still occurs

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions