Cobertos / tld-data

Get yer TLD data here! Scraped straight from DNS, ICANN and IANA. Including branded gTLDs and whether or not there's registry restrictions.
https://tld-data.com
MIT License
10 stars 0 forks source link

Stop catastrophically failing #3

Closed Cobertos closed 3 years ago

Cobertos commented 3 years ago

If the script runs and fails or doesn't output anything, the file is blow away.

Like here it was blown away for a week and it was a silent failure cause I didn't get an email ;-;

https://github.com/Cobertos/tld-data/commit/215fd5b01b02cf6b99df0c9776b01e6716138a0b

Cobertos commented 3 years ago

This should be fixed, unhandled rejections will stop node from running.

Also, fetches will retry until a 200 for 3 times, so hopefully that'll prevent more failures than necessary...

Cobertos commented 3 years ago

This looks to have been fixed! :D