Have you considered doing it the way Evernote or Raindrop do it? That way one wouldn’t have to clean anything up manually, because I imagine that’s extremely time consuming.