Skip to content

Commit e8229fe

Browse files
author
Gal Ben David
committed
- added support for Python 3.9
- updated public suffix list - ci workflows updates - tsl robin map updates
1 parent 1c33fb3 commit e8229fe

File tree

9 files changed

+1289
-946
lines changed

9 files changed

+1289
-946
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ jobs:
66
if: github.event_name == 'push' && !startsWith(github.event.ref, 'refs/tags')
77
runs-on: ubuntu-20.04
88
strategy:
9-
max-parallel: 4
109
matrix:
11-
python-version: [3.6, 3.7, 3.8, pypy3]
10+
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
1211
steps:
13-
- uses: actions/checkout@v1
14-
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v1
16-
with:
17-
python-version: ${{ matrix.python-version }}
18-
- name: Install Ubuntu packages
19-
run: >-
20-
sudo apt install libidn2-dev;
21-
- name: Test module
22-
run: >-
23-
python setup.py test
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install Ubuntu packages
19+
run: >-
20+
sudo apt install libidn2-dev;
21+
- name: Test
22+
run: >-
23+
python setup.py test

.github/workflows/deploy.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ jobs:
77
deploy:
88
runs-on: ubuntu-20.04
99
steps:
10-
- uses: actions/checkout@v1
11-
- name: Set up Python 3.8
12-
uses: actions/setup-python@v1
13-
with:
14-
python-version: 3.8
15-
- name: Build a source tarball
16-
run: >-
17-
python -m pip install --user --upgrade setuptools;
18-
python setup.py sdist;
19-
- name: Publish distribution 📦 to PyPI
20-
uses: pypa/gh-action-pypi-publish@master
21-
with:
22-
password: ${{ secrets.pypi_password }}
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- name: Set up Python 3.8
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: 3.8
16+
- name: Build a source tarball
17+
run: >-
18+
python -m pip install --user --upgrade setuptools;
19+
python setup.py sdist;
20+
- name: Publish distribution 📦 to PyPI
21+
uses: pypa/gh-action-pypi-publish@master
22+
with:
23+
password: ${{ secrets.pypi_password }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</p>
99

1010
![license](https://img.shields.io/badge/MIT-License-blue)
11-
![Python](https://img.shields.io/badge/Python-3.6%20%7C%203.7%20%7C%203.8%20%7C%20PyPy3-blue)
11+
![Python](https://img.shields.io/badge/Python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%20PyPy3-blue)
1212
![Build](https://github.com/Intsights/PyDomainExtractor/workflows/Build/badge.svg)
1313
[![PyPi](https://img.shields.io/pypi/v/PyDomainExtractor.svg)](https://pypi.org/project/PyDomainExtractor/)
1414

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name='PyDomainExtractor',
8-
version='0.8.3',
8+
version='0.8.4',
99
author='Gal Ben David',
1010
author_email='[email protected]',
1111
url='https://github.com/Intsights/PyDomainExtractor',
@@ -21,6 +21,7 @@
2121
'Programming Language :: Python :: 3.6',
2222
'Programming Language :: Python :: 3.7',
2323
'Programming Language :: Python :: 3.8',
24+
'Programming Language :: Python :: 3.9',
2425
],
2526
keywords='domain extraction tld suffix psl c++',
2627
python_requires='>=3.6',

src/public_suffix_list.h

Lines changed: 118 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -912,16 +912,18 @@ org.do
912912
sld.do
913913
web.do
914914
915-
// dz : https://en.wikipedia.org/wiki/.dz
915+
// dz : http://www.nic.dz/images/pdf_nic/charte.pdf
916916
dz
917+
art.dz
918+
asso.dz
917919
com.dz
920+
edu.dz
921+
gov.dz
918922
org.dz
919923
net.dz
920-
gov.dz
921-
edu.dz
922-
asso.dz
923924
pol.dz
924-
art.dz
925+
soc.dz
926+
tm.dz
925927
926928
// ec : http://www.nic.ec/reg/paso1.asp
927929
// Submitted by registry <[email protected]>
@@ -4702,27 +4704,26 @@ web.ni
47024704
// ccTLD for the Netherlands
47034705
nl
47044706
4705-
// no : http://www.norid.no/regelverk/index.en.html
4706-
// The Norwegian registry has declined to notify us of updates. The web pages
4707-
// referenced below are the official source of the data. There is also an
4708-
// announce mailing list:
4709-
// https://postlister.uninett.no/sympa/info/norid-diskusjon
4707+
// no : https://www.norid.no/en/om-domenenavn/regelverk-for-no/
4708+
// Norid geographical second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-b/
4709+
// Norid category second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-c/
4710+
// Norid category second-level domains managed by parties other than Norid : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-d/
47104711
no
4711-
// Norid generic domains : http://www.norid.no/regelverk/vedlegg-c.en.html
4712+
// Norid category second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-c/
47124713
fhs.no
47134714
vgs.no
47144715
fylkesbibl.no
47154716
folkebibl.no
47164717
museum.no
47174718
idrett.no
47184719
priv.no
4719-
// Non-Norid generic domains : http://www.norid.no/regelverk/vedlegg-d.en.html
4720+
// Norid category second-level domains managed by parties other than Norid : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-d/
47204721
mil.no
47214722
stat.no
47224723
dep.no
47234724
kommune.no
47244725
herad.no
4725-
// no geographical names : http://www.norid.no/regelverk/vedlegg-b.en.html
4726+
// Norid geographical second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-b/
47264727
// counties
47274728
aa.no
47284729
ah.no
@@ -7114,7 +7115,7 @@ org.zw
71147115
71157116
// newGTLDs
71167117
7117-
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2020-09-17T17:33:58Z
7118+
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2020-10-08T17:45:32Z
71187119
// This list is auto-generated, don't edit it manually.
71197120
// aaa : 2015-02-26 American Automobile Association, Inc.
71207121
aaa
@@ -8613,9 +8614,6 @@ insurance
86138614
// insure : 2014-03-20 Binky Moon, LLC
86148615
insure
86158616
8616-
// intel : 2015-08-06 Intel Corporation
8617-
intel
8618-
86198617
// international : 2013-11-07 Binky Moon, LLC
86208618
international
86218619
@@ -10245,9 +10243,6 @@ weber
1024510243
// website : 2014-04-03 DotWebsite Inc.
1024610244
website
1024710245
10248-
// wed : 2013-10-01 Atgron, Inc.
10249-
wed
10250-
1025110246
// wedding : 2014-04-24 Minds + Machines Group Limited
1025210247
wedding
1025310248
@@ -10458,7 +10453,7 @@ xin
1045810453
// xn--fzys8d69uvgm : 2015-05-14 PCCW Enterprises Limited
1045910454
電訊盈科
1046010455
10461-
// xn--g2xx48c : 2015-01-30 Minds + Machines Group Limited
10456+
// xn--g2xx48c : 2015-01-30 Nawang Heli(Xiamen) Network Service Co., LTD.
1046210457
购物
1046310458
1046410459
// xn--gckr3f0f : 2015-02-26 Amazon Registry Services, Inc.
@@ -11237,6 +11232,10 @@ drud.us
1123711232
// Submitted by Richard Harper <[email protected]>
1123811233
duckdns.org
1123911234
11235+
// Bip : https://bip.sh
11236+
// Submitted by Joel Kennedy <[email protected]>
11237+
bip.sh
11238+
1124011239
// bitbridge.net : Submitted by Craig Welch, [email protected]
1124111240
bitbridge.net
1124211241
@@ -11588,6 +11587,10 @@ mytuleap.com
1158811587
onred.one
1158911588
staging.onred.one
1159011589
11590+
// One.com: https://www.one.com/
11591+
// Submitted by Jacob Bunk Nielsen <[email protected]>
11592+
service.one
11593+
1159111594
// Enonic : http://enonic.com/
1159211595
// Submitted by Erik Kaareng-Sunde <[email protected]>
1159311596
enonic.io
@@ -11926,6 +11929,17 @@ web.app
1192611929
*.0emm.com
1192711930
appspot.com
1192811931
*.r.appspot.com
11932+
codespot.com
11933+
googleapis.com
11934+
googlecode.com
11935+
pagespeedmobilizer.com
11936+
publishproxy.com
11937+
withgoogle.com
11938+
withyoutube.com
11939+
cloudfunctions.net
11940+
cloud.goog
11941+
translate.goog
11942+
1192911943
blogspot.ae
1193011944
blogspot.al
1193111945
blogspot.am
@@ -12000,15 +12014,6 @@ blogspot.td
1200012014
blogspot.tw
1200112015
blogspot.ug
1200212016
blogspot.vn
12003-
cloudfunctions.net
12004-
cloud.goog
12005-
codespot.com
12006-
googleapis.com
12007-
googlecode.com
12008-
pagespeedmobilizer.com
12009-
publishproxy.com
12010-
withgoogle.com
12011-
withyoutube.com
1201212017
1201312018
// Aaron Marais' Gitlab pages: https://lab.aaronleem.co.za
1201412019
// Submitted by Aaron Marais <[email protected]>
@@ -12146,6 +12151,10 @@ pixolino.com
1214612151
// Submited by Vasiliy Sheredeko <[email protected]>
1214712152
na4u.ru
1214812153
12154+
// iopsys software solutions AB : https://iopsys.eu/
12155+
// Submitted by Roman Azarenko <[email protected]>
12156+
iopsys.se
12157+
1214912158
// IPiFony Systems, Inc. : https://www.ipifony.com/
1215012159
// Submitted by Matthew Hardeman <[email protected]>
1215112160
ipifony.net
@@ -12163,29 +12172,92 @@ iobb.net
1216312172
1216412173
//Jelastic, Inc. : https://jelastic.com/
1216512174
// Submited by Ihor Kolodyuk <[email protected]>
12175+
mel.cloudlets.com.au
12176+
cloud.interhostsolutions.be
12177+
users.scale.virtualcloud.com.br
12178+
mycloud.by
12179+
alp1.ae.flow.ch
1216612180
appengine.flow.ch
12181+
es-1.axarnet.cloud
12182+
diadem.cloud
1216712183
vip.jelastic.cloud
1216812184
jele.cloud
12185+
it1.eur.aruba.jenv-aruba.cloud
12186+
it1.jenv-aruba.cloud
12187+
it1-eur.jenv-arubabiz.cloud
12188+
primetel.cloud
12189+
uk.primetel.cloud
12190+
ca.reclaim.cloud
12191+
uk.reclaim.cloud
12192+
us.reclaim.cloud
12193+
ch.trendhosting.cloud
12194+
de.trendhosting.cloud
1216912195
jele.club
12196+
clicketcloud.com
12197+
ams.cloudswitches.com
12198+
au.cloudswitches.com
12199+
sg.cloudswitches.com
1217012200
dopaas.com
12201+
elastyco.com
12202+
nv.elastyco.com
1217112203
hidora.com
12204+
paas.hosted-by-previder.com
12205+
rag-cloud.hosteur.com
12206+
rag-cloud-ch.hosteur.com
1217212207
jcloud.ik-server.com
12208+
jcloud-ver-jpc.ik-server.com
1217312209
demo.jelastic.com
12210+
kilatiron.com
1217412211
paas.massivegrid.com
12212+
jed.wafaicloud.com
12213+
lon.wafaicloud.com
12214+
ryd.wafaicloud.com
1217512215
j.scaleforce.com.cy
1217612216
jelastic.dogado.eu
12217+
paas.leviracloud.eu
1217712218
fi.cloudplatform.fi
12219+
demo.datacenter.fi
1217812220
paas.datacenter.fi
1217912221
jele.host
1218012222
mircloud.host
1218112223
jele.io
12224+
ocs.opusinteractive.io
12225+
cloud.unispace.io
12226+
cloud-de.unispace.io
12227+
cloud-fr1.unispace.io
12228+
jc.neen.it
12229+
cloud.jelastic.open.tim.it
12230+
jcloud.kz
12231+
upaas.kazteleport.kz
12232+
jl.serv.net.mx
1218212233
cloudjiffy.net
12234+
fra1-de.cloudjiffy.net
12235+
west1-us.cloudjiffy.net
12236+
ams1.jls.docktera.net
1218312237
jls-sto1.elastx.net
12238+
jls-sto2.elastx.net
12239+
jls-sto3.elastx.net
12240+
fr-1.paas.massivegrid.net
12241+
lon-1.paas.massivegrid.net
12242+
lon-2.paas.massivegrid.net
12243+
ny-1.paas.massivegrid.net
12244+
ny-2.paas.massivegrid.net
12245+
sg-1.paas.massivegrid.net
1218412246
jelastic.saveincloud.net
12247+
nordeste-idc.saveincloud.net
12248+
j.scaleforce.net
12249+
jelastic.tsukaeru.net
12250+
atl.jelastic.vps-host.net
12251+
njs.jelastic.vps-host.net
12252+
unicloud.pl
12253+
mircloud.ru
1218512254
jelastic.regruhosting.ru
12255+
enscaled.sg
1218612256
jele.site
1218712257
jelastic.team
1218812258
j.layershift.co.uk
12259+
phx.enscaled.us
12260+
mircloud.us
1218912261
1219012262
// Jino : https://www.jino.ru
1219112263
// Submitted by Sergey Ulyashin <[email protected]>
@@ -12279,6 +12351,10 @@ members.linode.com
1227912351
// Submitted by Victor Velchev <[email protected]>
1228012352
we.bs
1228112353
12354+
// localzone.xyz
12355+
// Submitted by Kenny Niehage <[email protected]>
12356+
localzone.xyz
12357+
1228212358
// Log'in Line : https://www.loginline.com/
1228312359
// Submitted by Rémi Mach <[email protected]>
1228412360
loginline.app
@@ -13115,6 +13191,7 @@ cust.testing.thingdust.io
1311513191
// Submitted by Mark Staarink <[email protected]>
1311613192
arvo.network
1311713193
azimuth.network
13194+
tlon.network
1311813195
1311913196
// TownNews.com : http://www.townnews.com
1312013197
// Submitted by Dustin Ward <[email protected]>
@@ -13268,6 +13345,15 @@ v.ua
1326813345
// Submitted by Masayuki Note <[email protected]>
1326913346
wafflecell.com
1327013347
13348+
// WapBlog.ID : https://www.wapblog.id
13349+
// Submitted by Fajar Sodik <[email protected]>
13350+
idnblogger.com
13351+
indowapblog.com
13352+
bloghp.id
13353+
wblog.id
13354+
wbq.me
13355+
fastblog.net
13356+
1327113357
// WebHare bv: https://www.webhare.com/
1327213358
// Submitted by Arnold Hendriks <[email protected]>
1327313359
*.webhare.dev
@@ -13379,7 +13465,9 @@ cx.ua
1337913465
1338013466
// WP Engine : https://wpengine.com/
1338113467
// Submitted by Michael Smith <[email protected]>
13468+
// Submitted by Brandon DuRette <[email protected]>
1338213469
wpenginepowered.com
13470+
js.wpenginepowered.com
1338313471
1338413472
// Impertrix Solutions : <https://impertrixcdn.com>
1338513473
// Submitted by Zhixiang Zhao <[email protected]>

0 commit comments

Comments
 (0)