mirror of
https://github.com/disposable-email-domains/disposable-email-domains.git
synced 2024-11-22 00:28:12 +08:00
Merge pull request #140 from martenson/travis-check
tinkering with travis
This commit is contained in:
commit
deb67ee286
6
.travis.yml
Normal file
6
.travis.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "3.6"
|
||||||
|
script:
|
||||||
|
- python verify.py
|
||||||
|
|
@ -487,7 +487,6 @@ codeandscotch.com
|
|||||||
codivide.com
|
codivide.com
|
||||||
coieo.com
|
coieo.com
|
||||||
coldemail.info
|
coldemail.info
|
||||||
com.ar
|
|
||||||
compareshippingrates.org
|
compareshippingrates.org
|
||||||
completegolfswing.com
|
completegolfswing.com
|
||||||
comwest.de
|
comwest.de
|
||||||
@ -536,7 +535,6 @@ darkharvestfilms.com
|
|||||||
daryxfox.net
|
daryxfox.net
|
||||||
dash-pads.com
|
dash-pads.com
|
||||||
dataarca.com
|
dataarca.com
|
||||||
datafilehost
|
|
||||||
datarca.com
|
datarca.com
|
||||||
datazo.ca
|
datazo.ca
|
||||||
davidkoh.net
|
davidkoh.net
|
||||||
@ -672,7 +670,6 @@ durandinterstellar.com
|
|||||||
duskmail.com
|
duskmail.com
|
||||||
dwse.edu.pl
|
dwse.edu.pl
|
||||||
dyceroprojects.com
|
dyceroprojects.com
|
||||||
dynu.net
|
|
||||||
dz17.net
|
dz17.net
|
||||||
e-mail.com
|
e-mail.com
|
||||||
e-mail.org
|
e-mail.org
|
||||||
@ -686,8 +683,6 @@ ebeschlussbuch.de
|
|||||||
ecallheandi.com
|
ecallheandi.com
|
||||||
edgex.ru
|
edgex.ru
|
||||||
edinburgh-airporthotels.com
|
edinburgh-airporthotels.com
|
||||||
edu.my
|
|
||||||
edu.sg
|
|
||||||
edv.to
|
edv.to
|
||||||
ee1.pl
|
ee1.pl
|
||||||
ee2.pl
|
ee2.pl
|
||||||
@ -1147,7 +1142,6 @@ ibnuh.bz
|
|||||||
icantbelieveineedtoexplainthisshit.com
|
icantbelieveineedtoexplainthisshit.com
|
||||||
icx.in
|
icx.in
|
||||||
icx.ro
|
icx.ro
|
||||||
id.au
|
|
||||||
ieatspam.eu
|
ieatspam.eu
|
||||||
ieatspam.info
|
ieatspam.info
|
||||||
ieh-mail.de
|
ieh-mail.de
|
||||||
@ -1308,7 +1302,6 @@ kopaka.net
|
|||||||
kosmetik-obatkuat.com
|
kosmetik-obatkuat.com
|
||||||
kostenlosemailadresse.de
|
kostenlosemailadresse.de
|
||||||
koszmail.pl
|
koszmail.pl
|
||||||
kozow.com
|
|
||||||
krd.ag
|
krd.ag
|
||||||
krsw.tk
|
krsw.tk
|
||||||
krypton.tk
|
krypton.tk
|
||||||
@ -1616,7 +1609,6 @@ moza.pl
|
|||||||
mozej.com
|
mozej.com
|
||||||
mr24.co
|
mr24.co
|
||||||
msgos.com
|
msgos.com
|
||||||
msk.ru
|
|
||||||
mspeciosa.com
|
mspeciosa.com
|
||||||
msrc.ml
|
msrc.ml
|
||||||
mswork.ru
|
mswork.ru
|
||||||
@ -1713,7 +1705,6 @@ nodezine.com
|
|||||||
nogmailspam.info
|
nogmailspam.info
|
||||||
noicd.com
|
noicd.com
|
||||||
nokiamail.com
|
nokiamail.com
|
||||||
nom.za
|
|
||||||
nomail.pw
|
nomail.pw
|
||||||
nomail.xl.cx
|
nomail.xl.cx
|
||||||
nomail2me.com
|
nomail2me.com
|
||||||
@ -2151,7 +2142,6 @@ spamthisplease.com
|
|||||||
spamtrail.com
|
spamtrail.com
|
||||||
spamtrap.ro
|
spamtrap.ro
|
||||||
spamtroll.net
|
spamtroll.net
|
||||||
spb.ru
|
|
||||||
speed.1s.fr
|
speed.1s.fr
|
||||||
speedgaus.net
|
speedgaus.net
|
||||||
spikio.com
|
spikio.com
|
||||||
@ -2511,7 +2501,6 @@ watchfull.net
|
|||||||
watchironman3onlinefreefullmovie.com
|
watchironman3onlinefreefullmovie.com
|
||||||
wbml.net
|
wbml.net
|
||||||
web-mail.pp.ua
|
web-mail.pp.ua
|
||||||
web.id
|
|
||||||
webemail.me
|
webemail.me
|
||||||
webm4il.info
|
webm4il.info
|
||||||
webmail.igg.biz
|
webmail.igg.biz
|
||||||
@ -2654,7 +2643,6 @@ yyolf.net
|
|||||||
z0d.eu
|
z0d.eu
|
||||||
z1p.biz
|
z1p.biz
|
||||||
z86.ru
|
z86.ru
|
||||||
za.com
|
|
||||||
zain.site
|
zain.site
|
||||||
zainmax.net
|
zainmax.net
|
||||||
zasod.com
|
zasod.com
|
||||||
|
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
publicsuffixlist
|
28
verify.py
Normal file
28
verify.py
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
"""Verify the integrity of the domain blacklist
|
||||||
|
"""
|
||||||
|
|
||||||
|
import io
|
||||||
|
import sys
|
||||||
|
|
||||||
|
from publicsuffixlist import PublicSuffixList
|
||||||
|
|
||||||
|
def main(arguments):
|
||||||
|
psl = PublicSuffixList()
|
||||||
|
suffix_detected = False
|
||||||
|
|
||||||
|
with io.open('disposable_email_blacklist.conf', 'r') as deb:
|
||||||
|
for i, line in enumerate(deb):
|
||||||
|
current_line = line.strip()
|
||||||
|
public_suffix = psl.publicsuffix(current_line)
|
||||||
|
if public_suffix == current_line:
|
||||||
|
print(f'The line number {i+1} contains just a public suffix: {current_line}')
|
||||||
|
suffix_detected = True
|
||||||
|
if suffix_detected:
|
||||||
|
print ('At least one valid public suffix found in the blacklist, please remove it. See https://publicsuffix.org for details on why this shouldn\'t be blacklisted.')
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main(sys.argv)
|
Loading…
Reference in New Issue
Block a user