obsidian-pocket
obsidian-pocket copied to clipboard
BUG: Some items will not match "URL" parameter
Hi there,
Some items will consistently not match based on the "URL" parameter. Here is an example of a pocket note frontmatter, which contains the relevant url and pocket url:
---
title: "The Trimodal Nature of Software Engineering Salaries in the Netherlands and Europe"
URL: https://blog.pragmaticengineer.com/software-engineering-salaries-in-the-netherlands-and-europe/
pocket-url: https://getpocket.com/read/3275416886
tags: [saved-link]
excerpt: Update: dozens of hiring managers confirmed this trimodal model applies to all global markets: from the US, through Asia to Latin America as well. Also see TechPays.com for data recorded for a growing number of countries in the three tiers.
---
As you can see from the screenshot below, the item is created multiple times, and refuses to match.

A couple of sites I've noticed this happens on are Hacker News (news.ycombinator.com) and ThreadReader (https://threadreaderapp.com/), though neither site fails consistently.
Maybe there are some special characters on specific article URLs or titles that fail to sync.
Are specific articles persistently failing that you know off?
I don't know if this will apply to your situation, but I just was running into this same issue where syncing would create duplicates of the same note. I only started encountering this issue when I set the "Pocket item notes folder location" setting. I previously set it to "pocket" and was getting duplicate notes every time. However, when I changed it to "/pocket", I stopped getting all duplicates.
Hope this helps!