Skip to content

Using Python, JSON, and HTTP GET/POST requests to interface with the Pocket API and retrieve/delete tagged entries.

Notifications You must be signed in to change notification settings

braden-w/Pocket-Scraping

Repository files navigation

Pocket-Scraping

Using Python, JSON, and HTTP GET/POST requests to interface with the Pocket API and retrieve/delete tagged entries. This specific project deletes all Pocket entries with the tag "TIL."

To Use

Prerequisites: Set up a consumer key under Pocket Developer, install requests Python Module through pip.

  1. Modify "0. Pocket Web TIL Scraper.json" to match the properties of Pocket entries that you want to delete.
  2. Run "1. Post Request to Retrieve Pocket.py" to generate JSON Data of matching Pocket entries as "2. JSON Data (Pocket Articles Tagged TIL).json".
  3. Run "3. Generate Deletion Commands.py" to generate delete commands for Pocket entries as "4. JSON Delete Commands (Pocket Articles Tagged TIL).json".
  4. Run "5. Post Request to Delete Pocket.py" to delete and generate server output as "6. Post Request Output.txt".
  5. Hopefully your output file should generate “action_results”:[true,true,…]∎! Enjoy!

About

Using Python, JSON, and HTTP GET/POST requests to interface with the Pocket API and retrieve/delete tagged entries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages