Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.
/ crawler Public archive

Crawler code to find news for the SGN app in Python 3.7/GAE.

Notifications You must be signed in to change notification settings

sgn-somegoodnews/crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crawler

Crawler code to find news for the SGN app in Python 3.7/GAE.

This will fetch APIs/crawl webpages under a cron to populate our Firebase Firestore database with some good news for the apps to consume.

Setup

In order to setup, install python 3.7 and run

# setup virtual env
python3 -m venv env
source env/bin/activate

# install requirements
pip install  -r requirements.txt

To run locally, run

python main.py

To deploy to the App Engine server, first download the service-accounts.json secret file from Firebase and put on the following path:

secrets/sgn-test-firestore-access.json
gcloud app deploy

After properly configuring your gcloud CLI.

About

Crawler code to find news for the SGN app in Python 3.7/GAE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published