{"id":13478792,"url":"https://github.com/trmckay/article-export","last_synced_at":"2025-03-12T01:45:02.906Z","repository":{"id":114995406,"uuid":"274238057","full_name":"trmckay/article-export","owner":"trmckay","description":"Export Pocket list as CSV!","archived":false,"fork":false,"pushed_at":"2020-06-29T02:34:27.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-18T11:30:39.989Z","etag":null,"topics":["article-extracting","pocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trmckay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license/LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-06-22T20:43:01.000Z","updated_at":"2023-07-20T08:25:56.000Z","dependencies_parsed_at":"2023-04-18T14:25:34.151Z","dependency_job_id":null,"html_url":"https://github.com/trmckay/article-export","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trmckay%2Farticle-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trmckay%2Farticle-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trmckay%2Farticle-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trmckay%2Farticle-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trmckay","download_url":"https://codeload.github.com/trmckay/article-export/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141256,"owners_count":20242817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["article-extracting","pocket"],"created_at":"2024-07-31T16:02:03.192Z","updated_at":"2025-03-12T01:45:02.880Z","avatar_url":"https://github.com/trmckay.png","language":"Python","readme":"### PURPOSE ###\nExport your Pocket reading list as a CSV file.\n\n### PREREQUESITES ###\n- python3\n- pip\n\n### SET-UP ###\n- Run ./setup.sh to install dependencies.\n- Consider adding alias article-export=\"python3 \u003cthis_repo\u003e/article-export/export.py\" to your .bashrc to effectively \"install\" the script.\n- Generate a new consumer ID at https://getpocket.com/developer/.\n    - Create new app.\n    - Give it a name (i.e. article-archiver).\n    - Give it a description.\n    - Under permissions, check \"Retrieve\".\n    - Under platforms, check \"Desktop (other)\".\n    - Accept the terms and continue.\n    - Make a note of the consumer ID.\n- Authorize the app. You can do this yourself, or use [this website](http://reader.fxneumann.de/plugins/oneclickpocket/auth.php) to do so. Make a note of the access token.\n\n### USAGE ###\n\nRun export.py with your desired flags and options. If no keys are found you will be prompted to input them. If you are filtering by source or keyword, make sure to add them to ./article-export/sources.txt and ./article-export/keywords.txt, respectively.\n\n```\npython3 export.py [-s state] [-c type] [-m number] [-p path] [OPTIONS]\n\nFLAGS\n    -s \u003cstate\u003e: export only articles with the following state\n        all: export all articles (default)\n        unread: export only unread articles\n        archive: export only archived articles\n\n    -c \u003ctype\u003e: export only articles with the following content type\n        all: all items in list (default)\n        article: only articles\n        video: only videos (buggy)\n\n    -m \u003cnumber\u003e: export a maximum of this many articles\n\n    -p \u003cpath\u003e: save the csv output to the provided path\n\nOPTIONS\n    --help: show this again\n    --filter-keywords: only keep articles that contain keywords in keywords.txt (separated by newline)\n    --filter-sources: only keep articles that come from sources in sources.txt (separated by newline)\n    --scan-text: additionally parses full article text for keywords\n```\n\n### AKNOWLEDGEMENTS ###\n\n## Newspaper ##\nLucas Ou-Yang : https://github.com/codelucas/newspaper/\n\n## pocket-api ##\nRakan Alhneiti : https://github.com/rakanalh/pocket-api\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrmckay%2Farticle-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrmckay%2Farticle-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrmckay%2Farticle-export/lists"}