mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[PR #528] [MERGED] Add parser for Pocket API #4227
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/528
Author: @mAAdhaTTah
Created: 11/7/2020
Status: ✅ Merged
Merged: 12/5/2020
Merged by: @pirate
Base:
v0.5.0← Head:pull-from-pocket-api📝 Commits (1)
ac7ad9eAdd parser for Pocket API📊 Changes
4 files changed (+122 additions, -1 deletions)
View changed files
📝
archivebox/config.py(+4 -1)📝
archivebox/parsers/__init__.py(+2 -0)➕
archivebox/parsers/pocket_api.py(+115 -0)📝
setup.py(+1 -0)📄 Description
Pass a url like
pocket://Usernameto import that username's archived Pocketlibrary. Tokens need to be stored in ArchveBox.conf with the following keys:
POCKET_ACCESS_TOKENSMUST be on a single line, or the JSON will bemisinterpreted by the parser as a new key/value pair.
Summary
I'm not 100% this is the implementation, but my experience w/ the API is it's more
reliable & complete than the feed export. It would be nice to use this as a feed source
but the last
sincevalue would need to be persisted somewhere.Related issues
None, I wrote this to import my Pocket library locally and was wondering if this would be useful.
Changes these areas
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.