wmgeolab / scope

5 stars 3 forks source link

Regularly scrape GDELT sources into a database #14

Closed karimbahgat closed 2 years ago

karimbahgat commented 3 years ago

NOTE: Depends on #13

Working folder:

/resources/gdelt_source_urls/

Purpose:

In main.py:

Create function scrape_gdelt_sources (no args):

Run scrape_gdelt_sources and make sure that it works:

Implement GDELT script into Django pipeline module

karimbahgat commented 3 years ago

I added some comments to your previous commit @lclime812 , and updated this issue with more information about the database and table/columns.

If you don't already know SQL, the relevant parts you'll need is select where, and insert into.