As I no longer use Pocket, this repository has been archived.
This is derived from Mierdin's excellent pocketdedupe.py (https://gist.github.com/Mierdin/0996952ba02d87175f3b). The code has been updated for use with Python 3, and reporting on bad URLs was also added.