在源文本中查找可能的域名
项目描述
public_domains
public_domains 在文本(如小说《白鲸》)中搜索可能的域名。有关创建此类功能的原因的更多信息,请参阅
https://parkerhiggins.net/2022/11/public-sub-domains
安装
$ pip3 install public_domains
使用
获取文本,例如来自Project Gutenberg
wget https://www.gutenberg.org/files/2701/2701-0.txt
运行
$ public_domains 2701-0.txt
tattooing.burned.like
fishermen.technically.call
violent.scraping.contact
irregular.between.here
verbally.developed.here
mizzen.rigging.like
eepeningly.contracted.like
tropic.whaling.life
trailing.behind.like
certain.fragmentary.parts
redundant.yellow.hair
personality.stands.here
wicked.miserable.world
...
或者,如果您想对gutenberg.org进行“幸运搜索”,可以输入标题
$ public_domains "Treasure Island"
famous.buccaneer.here
maroon.wriggling.like
keeping.better.watch
little.mountain.stream
admiral.benbow.black
breathing.loudly.like
breath.hanging.like
shirts.thrown.open
promontory.without.fail
feverish.unhealthy.spot
something.almost.like
following.important.news
lookout.shouted.land
spirits.eating.like
resumed.silver.here
stranded.beyond.help
trebly.worthless.life
including.checks.online
canvas.cracking.like
almost.entirely.exposed
flowers.ablowing.like
counting.hawkins.here
little.stranger.here
foliage.compact.like
strange.collection.like
seamen.aboard.here
creature.flitted.like
nighhand.fainting.doctor
crying.johnny.black
enough.little.place
如果您希望public_domains检查域名是否可用,请使用--check
选项