URLExtract is python class for collecting (extracting) URLs from given text.
It tries to find any occurrence of TLD in given text. If TLD is found it starts from that position to expand boundaries to both sides searching for “stop character” (usually whitespace, comma, single or double quote).
IDNA for converting links to IDNA format
pip install idna
You can look at command line program bin/urlextract. But everything you need to know is this:
from URLExtract import URLExtract extractor = URLExtract() urls = extractor.find_urls("Text with URLs. Let's have URL janlipovsky.cz as an example.") print(urls) # prints: ['janlipovsky.cz']
This piece of code is licensed under The MIT License.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.