Skip to content

Commit ecb6858

Browse files
author
salomartin
committed
Add EMTA
1 parent ea1946e commit ecb6858

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/registry_downloader/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import asyncio
33
import sys
44
from typing import Optional, Sequence
5-
from registry_downloader.runner import run_downloader
5+
from registry_downloader.runner import run_downloader, DEFAULT_COUNTRY_CONFIGS
66

77
__all__ = ['run_downloader', 'main']
88

@@ -18,7 +18,7 @@ def parse_arguments() -> argparse.Namespace:
1818
"--countries",
1919
type=str,
2020
nargs='+',
21-
choices=['cz', 'ee', 'lv', 'fi', 'lt'],
21+
choices=list(DEFAULT_COUNTRY_CONFIGS.keys()),
2222
help="List of countries to download data for"
2323
)
2424
parser.add_argument(

src/registry_downloader/runner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
'url': 'https://avaandmed.ariregister.rik.ee/et/avaandmete-allalaadimine',
2525
'downloader': EstonianDownloader()
2626
},
27+
'ee_emta': {
28+
'url': 'https://www.emta.ee/ariklient/amet-uudised-ja-kontakt/uudised-pressiinfo-statistika/statistika-ja-avaandmed',
29+
'downloader': BaseDownloader()
30+
},
2731
'lv': {
2832
'url': 'https://data.gov.lv/dati/lv/organization/ur',
2933
'downloader': LatvianDownloader()

0 commit comments

Comments
 (0)