karlicoss / pockexport

Export/access your Pocket data, including highlights!
Other
177 stars 14 forks source link

Does this export tags? #5

Closed AB1908 closed 3 years ago

AB1908 commented 3 years ago

I couldn't find any field related to tags in the export data example.

karlicoss commented 3 years ago

Hi, yeah, I haven't used Pocket for a while but seems that I do have tags in my export

  "1042711293": {
   "item_id": "1042711293",
   "resolved_id": "1042711293",
   "given_url": "http://www.scottaaronson.com/blog/?p=2464",
   "given_title": "Bell inequality violation finally done right",
   "favorite": "0",
   "status": "0",
   "time_added": "1464715504",
   "time_updated": "1569145019",
   "time_read": "0",
   "time_favorited": "0",
   "sort_id": 9,
   "resolved_title": "Bell inequality violation finally done right",
   "resolved_url": "https://www.scottaaronson.com/blog/?p=2464",
   "excerpt": "A few weeks ago, Hensen et al., of the Delft University of Technology and Barcelona, Spain, put out a paper reporting the first experiment that violates the Bell inequality in a way that closes off the two main loopholes simultaneously: th
   "is_article": "1",
   "is_index": "0",
   "has_video": "0",
   "has_image": "0",
   "word_count": "2665",
   "lang": "en",
   "time_to_read": 12,
   "tags": {
    "quantum": {
     "item_id": "1042711293",
     "tag": "quantum"
    }
   },
   "listen_duration_estimate": 1032
  },

this should be the full list of things it's exporting https://github.com/karlicoss/pockexport/blob/dae8b53a07bccefbce5909091a88087ac3161c5c/src/pockexport/export.py#L18-L34

AB1908 commented 3 years ago

Ah, amazing. Thanks for the clarification!