Skip to content

Commit

Permalink
Merge pull request #127 from lryong/chore/update_free_domain_source
Browse files Browse the repository at this point in the history
feat: update free_email_domain sources, and rebuild metadata
  • Loading branch information
lryong authored Sep 11, 2024
2 parents 297b5f6 + 20d5012 commit 821c38e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 73 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Change log
## [Change log](https://github.com/AfterShip/email-verifier/releases)

v1.4.0
----------
Expand Down
29 changes: 0 additions & 29 deletions cmd/build_metadata/free.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
4.fackme.gq
40.volvo-xc.ml
40.volvo-xc.tk
404: not found
420blaze.it
42o.org
444.net
Expand Down Expand Up @@ -163,12 +162,10 @@
900k.es
9260.dk
97rock.com
99.com
9q.ro
a.a.fbmail.usa.cc
a.yertxenor.tk
a0.igg.biz
a1.net
a1.usa.cc
a2.flu.cc
aa.da.mail-temp.com
Expand Down Expand Up @@ -268,7 +265,6 @@ alhilal.net
alibaba.com
alice.it
aliceadsl.fr
alicedsl.de
alive.cz
aliyun.com
alldirectbuy.com
Expand Down Expand Up @@ -351,7 +347,6 @@ anytimenow.com
anywhere.pw
aol.co.uk
aol.com
aol.fr
aol.it
aon.at
apagitu.chickenkiller.com
Expand Down Expand Up @@ -817,7 +812,6 @@ checknew.pw
cheerful.com
chef.net
chek.com
chello.at
chello.nl
chemist.com
chequemail.com
Expand Down Expand Up @@ -1313,7 +1307,6 @@ email.ro
email.ru
email.si
email.su
email.tst
email.ua
email.women.com
email2me.net
Expand Down Expand Up @@ -1823,14 +1816,12 @@ gmail.gr.com
gmail.it
gmail.om
gmail.ru
gmail.sk
gmail.zalvisual.us
gmailssdf.com
gmal.com
gmial.com
gmx.at
gmx.ch
gmx.co.uk
gmx.com
gmx.de
gmx.dns-cloud.net
Expand Down Expand Up @@ -2065,10 +2056,8 @@ hotmail.com
hotmail.com.ar
hotmail.com.au
hotmail.com.br
hotmail.com.hk
hotmail.com.mx
hotmail.com.tr
hotmail.com.tw
hotmail.de
hotmail.dk
hotmail.es
Expand All @@ -2079,7 +2068,6 @@ hotmail.it
hotmail.kg
hotmail.kz
hotmail.nl
hotmail.no
hotmail.roor
hotmail.ru
hotmail.se
Expand Down Expand Up @@ -2203,7 +2191,6 @@ in2jesus.com
iname.com
inbound.dk
inbox.com
inbox.lt
inbox.lv
inbox.net
inbox.ru
Expand Down Expand Up @@ -2597,7 +2584,6 @@ live.com
live.com.ar
live.com.au
live.com.mx
live.com.my
live.com.pt
live.com.sg
live.de
Expand Down Expand Up @@ -2751,7 +2737,6 @@ mail.sisna.com
mail.spaceports.com
mail.svenz.eu
mail.theboys.com
mail.ua
mail.usa.com
mail.vasarhely.hu
mail.vrfarm.com.tw
Expand Down Expand Up @@ -4310,7 +4295,6 @@ msk.ru
msn.cn
msn.co.uk
msn.com
msn.com.au
msn.nl
mswork.ru
mttestdriver.com
Expand Down Expand Up @@ -4997,13 +4981,11 @@ q.com
q314.net
qatarmail.com
qibl.at
qip.ru
qipmail.net
qis.net
qmail.com
qoika.com
qprfans.com
qq.cn
qq.com
qq.my
qrio.com
Expand Down Expand Up @@ -5611,7 +5593,6 @@ teenagedirtbag.com
teens.dk
tefl.ro
teknik.dk
tele2.at
tele2.nl
telebot.com
telebot.net
Expand Down Expand Up @@ -5971,7 +5952,6 @@ usit.net
usma.net
usmc.net
uswestmail.net
utanet.at
utiket.us
uu.net
uyhip.com
Expand Down Expand Up @@ -6015,7 +5995,6 @@ vinbazar.com
violinmakers.co.uk
vip-mail.tk
vip.126.com
vip.163.com
vip.21cn.com
vip.citiz.net
vip.gr
Expand Down Expand Up @@ -6303,12 +6282,10 @@ yada-yada.com
yadavnaresh.com.np
yaho.com
yahoo.ae
yahoo.ar
yahoo.at
yahoo.be
yahoo.ca
yahoo.ch
yahoo.cl
yahoo.cn
yahoo.co
yahoo.co.id
Expand Down Expand Up @@ -6346,24 +6323,18 @@ yahoo.fi
yahoo.fr
yahoo.gr
yahoo.hu
yahoo.id
yahoo.ie
yahoo.in
yahoo.it
yahoo.jp
yahoo.mx
yahoo.my
yahoo.nl
yahoo.no
yahoo.om
yahoo.ph
yahoo.pl
yahoo.pt
yahoo.ro
yahoo.ru
yahoo.se
yahoo.uk
yahoo.vn
yahoofs.com
yalla.com
yalla.com.lb
Expand Down
6 changes: 6 additions & 0 deletions cmd/build_metadata/free_domain_sources.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
https://gist.githubusercontent.com/Artistan/9662757/raw/free_email_provider_domains.txt
https://gist.githubusercontent.com/agarstang/0d87cae417f25a0b90f3/raw/free_email_provider_domains.txt
https://gist.githubusercontent.com/cnsaturn/9919758/raw/3rd_party_email_provider_domains.txt
https://gist.githubusercontent.com/cyriac/f89634a28f4d441719d8/raw/free_email_provider_domains.txt
https://gist.githubusercontent.com/hadees/3cc0e2cf97d06e0b8ebb/raw/free_email_provider_domains.txt
https://gist.githubusercontent.com/jpadilla/8459489/raw/free_email_provider_domains.txt
13 changes: 0 additions & 13 deletions cmd/build_metadata/sources.txt

This file was deleted.

6 changes: 5 additions & 1 deletion cmd/build_metadata/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export LC_ALL=C

new=$(mktemp -t emailverifierXXX)

# 1. update disposable domains meta databases
curl --silent https://raw.githubusercontent.com/ivolo/disposable-email-domains/master/index.json | jq -r '.[]' > $new

tmp=$(mktemp -t emailverifierXXX)
Expand All @@ -19,12 +20,15 @@ cat $new ./disposable.txt \
| uniq > $tmp
mv $tmp ./disposable.txt

sources=$(cat ./sources.txt)

# 2. update free domains meta databases,
sources=$(cat ./free_domain_sources.txt)
new=$(mktemp -t emailverifierXXX)
for source in $sources; do
echo "$(curl --silent $source)" >> $new
done;


tmp=$(mktemp -t emailverifierXXX)
cat $new ./free.txt \
| sed '/^$/d' \
Expand Down
Loading

0 comments on commit 821c38e

Please sign in to comment.