Permalink
Switch branches/tags
Nothing to show
Find file Copy path
3f212a0 Apr 11, 2018
2 contributors

Users who have contributed to this file

@sunu @pudo
27 lines (26 sloc) 701 Bytes
name: us_cia_world_leaders
description: "[OSANC] CIA World Leaders"
schedule: weekly
pipeline:
init:
method: seed
params:
url: 'https://www.cia.gov/library/publications/resources/world-leaders-1/index.html'
handle:
pass: fetch
fetch:
method: fetch
handle:
pass: scrape
scrape:
method: opensanctions.crawlers.us_cia_world_leaders:scrape
params:
url: 'https://www.cia.gov/library/publications/resources/world-leaders-1/index.html'
handle:
pass: scrape_country
scrape_country:
method: opensanctions.crawlers.us_cia_world_leaders:scrape_country
handle:
pass: store
store:
method: opensanctions.helpers:store_entity