Update dbip-country-lite.mmdb

This commit is contained in:
Sean Whalen
2023-09-05 06:43:31 -04:00
parent 557e2e0554
commit 4ff44dcb0f
8 changed files with 23 additions and 2 deletions
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
# About
`dbip-country-lite.mmdb` is provided by [dbip][dbip] under a
[ Creative Commons Attribution 4.0 International License][cc].
[dbip]: https://db-ip.com/db/lite.php
[cc]: http://creativecommons.org/licenses/by/4.0/
Binary file not shown.
+14
View File
@@ -0,0 +1,14 @@
# About
## Credit
`senders.sqlite` contains information from [dmarc.io][dmarc.io] that is licensed under a
[Creative Commons Attribution-ShareAlike 4.0 International License][cc].
## License
`senders.sqlite` is licensed under a
[Creative Commons Attribution-ShareAlike 4.0 International License][cc].
[dmarc.io]: https://dmarc.io/
[cc]: https://creativecommons.org/licenses/by-sa/4.0/
+2 -2
View File
@@ -31,7 +31,7 @@ import geoip2.errors
import publicsuffixlist
from parsedmarc.log import logger
import parsedmarc.resources
import parsedmarc.resources.dbip
parenthesis_regex = re.compile(r'\s*\(.*\)\s*')
@@ -272,7 +272,7 @@ def get_ip_address_country(ip_address, db_path=None):
break
if db_path is None:
with pkg_resources.path(parsedmarc.resources,
with pkg_resources.path(parsedmarc.resources.dbip,
"dbip-country-lite.mmdb") as path:
db_path = path