Skip to content

Commit

Permalink
Add EMTA
Browse files Browse the repository at this point in the history
  • Loading branch information
salomartin committed Nov 8, 2024
1 parent ea1946e commit ecb6858
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registry_downloader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import asyncio
import sys
from typing import Optional, Sequence
from registry_downloader.runner import run_downloader
from registry_downloader.runner import run_downloader, DEFAULT_COUNTRY_CONFIGS

__all__ = ['run_downloader', 'main']

Expand All @@ -18,7 +18,7 @@ def parse_arguments() -> argparse.Namespace:
"--countries",
type=str,
nargs='+',
choices=['cz', 'ee', 'lv', 'fi', 'lt'],
choices=list(DEFAULT_COUNTRY_CONFIGS.keys()),
help="List of countries to download data for"
)
parser.add_argument(
Expand Down
4 changes: 4 additions & 0 deletions src/registry_downloader/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
'url': 'https://avaandmed.ariregister.rik.ee/et/avaandmete-allalaadimine',
'downloader': EstonianDownloader()
},
'ee_emta': {
'url': 'https://www.emta.ee/ariklient/amet-uudised-ja-kontakt/uudised-pressiinfo-statistika/statistika-ja-avaandmed',
'downloader': BaseDownloader()
},
'lv': {
'url': 'https://data.gov.lv/dati/lv/organization/ur',
'downloader': LatvianDownloader()
Expand Down

0 comments on commit ecb6858

Please sign in to comment.