Skip to content

Commit

Permalink
Merge pull request #170 from mailgun/nick/topdomains
Browse files Browse the repository at this point in the history
updated most common domains
  • Loading branch information
schafer21mcm authored Jul 28, 2017
2 parents 2f24c68 + ec1e5de commit 7a20d19
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 26 deletions.
216 changes: 191 additions & 25 deletions flanker/addresslib/corrector.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,37 +35,203 @@ def suggest(word, cutoff=0.77):
# mailgun :)
'mailgun.net',
# big esps
'yahoo.com',
'yahoo.ca',
'yahoo.co.jp',
'yahoo.co.uk',
'yahoo.com.br',
'ymail.com',
'hotmail.com',
'hotmail.ca',
'hotmail.co.uk',
'windowslive.com',
'live.com',
'outlook.com',
'msn.com',
'163.com',
'aim.com',
'alice.it',
'aol.co.uk',
'aol.com',
'att.net',
'azet.sk',
'bell.net',
'bellsouth.net',
'bigpond.com',
'bigpond.com.au',
'bigpond.net.au',
'bluewin.ch',
'blueyonder.co.uk',
'bol.com.br',
'btinternet.com',
'btopenworld.com',
'cableone.net',
'centrum.sk',
'centurylink.net',
'centurytel.net',
'charter.net',
'comcast.net',
'cox.net',
'cs.com',
'earthlink.net',
'email.com',
'email.cz',
'email.it',
'embarqmail.com',
'excite.com',
'fastwebnet.it',
'free.fr',
'freemail.hu',
'freenet.de',
'frontier.com',
'frontiernet.net',
'fuse.net',
'gmail.com',
'gmx.at',
'gmx.ch',
'gmx.com',
'gmx.de',
'gmx.net',
'google.com',
'googlemail.com',
'aol.com',
'aim.com',
'hanmail.net',
'home.nl',
'hotmail.be',
'hotmail.ca',
'hotmail.co.jp',
'hotmail.co.nz',
'hotmail.co.uk',
'hotmail.com',
'hotmail.com.ar',
'hotmail.com.au',
'hotmail.de',
'hotmail.es',
'hotmail.fr',
'hotmail.gr',
'hotmail.it',
'hotmail.nl',
'hotmail.no',
'hotmail.se',
'hughes.net',
'icloud.com',
'me.com',
'iinet.net.au',
'inbox.lv',
'inbox.ru',
'interia.pl',
'juno.com',
'laposte.net',
'libero.it',
'list.ru',
'live.be',
'live.ca',
'live.co.uk',
'live.com',
'live.com.ar',
'live.com.au',
'live.com.mx',
'live.de',
'live.dk',
'live.fr',
'live.it',
'live.nl',
'live.no',
'live.se',
'mac.com',
'facebook.com',
# big isps
'comcast.net',
'mail.com',
'mail.ru',
'me.com',
'microsoft.com',
'mindspring.com',
'msn.com',
'naver.com',
'nc.rr.com',
'netscape.net',
'netspace.net.au',
'netzero.com',
'netzero.net',
'neuf.fr',
'nhs.net',
'ntlworld.com',
'o2.pl',
'online.no',
'optimum.net',
'optonline.net',
'optusnet.com.au',
'orange.fr',
'ostrovok.ru',
'outlook.com',
'outlook.com.au',
'outlook.de',
'outlook.es',
'outlook.fr',
'outlook.it',
'pacbell.net',
'planet.nl',
'prodigy.net',
'prodigy.net.mx',
'protonmail.com',
'q.com',
'qq.com',
'rambler.ru',
'reagan.com',
'rediffmail.com',
'roadrunner.com',
'rocketmail.com',
'rogers.com',
'sbcglobal.net',
'bellsouth.net',
'verizon.net',
'earthlink.net',
'cox.net',
'charter.net',
'seznam.cz',
'sfr.fr',
'shaw.ca',
'bell.net'
'sky.com',
'skynet.be',
'suddenlink.net',
'swbell.net',
'sympatico.ca',
't-online.de',
'talktalk.net',
'telefonica.net',
'telenet.be',
'telfort.nl',
'telia.com',
'telus.net',
'telusplanet.net',
'tiscali.co.uk',
'tiscali.it',
'ukr.net',
'uol.com.br',
'usa.net',
'vepl.com',
'verizon.net',
'videotron.ca',
'virgilio.it',
'virgin.net',
'virginmedia.com',
'wanadoo.fr',
'web.de',
'windowslive.com',
'windstream.net',
'wp.pl',
'xs4all.nl',
'xtra.co.nz',
'y7mail.com',
'ya.ru',
'yahoo.ca',
'yahoo.co.id',
'yahoo.co.in',
'yahoo.co.jp',
'yahoo.co.nz',
'yahoo.co.uk',
'yahoo.com',
'yahoo.com.ar',
'yahoo.com.au',
'yahoo.com.br',
'yahoo.com.hk',
'yahoo.com.mx',
'yahoo.com.my',
'yahoo.com.ph',
'yahoo.com.sg',
'yahoo.com.tw',
'yahoo.de',
'yahoo.es',
'yahoo.fr',
'yahoo.gr',
'yahoo.ie',
'yahoo.in',
'yahoo.it',
'yahoo.no',
'yahoo.se',
'yandex.com',
'yandex.ru',
'ymail.com',
'ziggo.nl',
'zoominternet.net'
]

# domains that the corrector doesn't fix that we should fix
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

setup(name='flanker',
version='0.7.3',
version='0.7.4',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
Expand Down

0 comments on commit 7a20d19

Please sign in to comment.