Skip to content

Commit

Permalink
add excludes option for crawlers in ftp harvester
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 authored and akorosov committed Nov 10, 2020
1 parent 918a38d commit 656a801
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geospaas_harvesting/harvesters.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ def _create_crawlers(self):
username=self.config.get('username', None),
password=self.config.get('password'),
files_suffixes=self.config.get('fileformat', None),
time_range=(self.get_time_range())
time_range=(self.get_time_range()),
excludes=self.config.get('excludes', None)
)
for url in self.config['urls']
]
Expand Down

0 comments on commit 656a801

Please sign in to comment.