john-kurkowski/tldextract

Wrong suffix parsering (core functionality)

Closed this issue · 1 comments

Hello,
Please, see the code examples below:

import tldextract

tldextract.extract('https://echo.msk.ru/')
ExtractResult(subdomain='echo', domain='msk', suffix='ru')   # expected: suffix='msk.ru'

tldextract.extract('http://www.webstyle.spb.ru')
ExtractResult(subdomain='www.webstyle', domain='spb', suffix='ru')   # expected: suffix='spb.ru'

Sorry... include_psl_private_domains was set to false (by default).