Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 1.42 KB

README.md

File metadata and controls

17 lines (9 loc) · 1.42 KB

Article Extractor

This application is created to retrieve articles from freeCodeCamp and Substack, and subsequently transfer all pertinent article details to a Google Sheet.

Tech Stacks

Python Google Sheet API docker Raspberry PI Bash

Getting Started

Please refer to the Wiki

What I have learned

I employed Python's generator feature for enhanced efficiency. I used this feature to send article information to the Sheets individually. There is no need to store the entire sequence of articles in memory at once. Previously, articles were stored in the array named “all_articles” from various providers. And then I had to loop through the array to send articles to the Sheets.

The generator is a neat way to simplify and streamline the process. This eliminates the need to store the sequence in the memory before sending it to the Sheets