lipoja / URLExtract

URLExtract is python class for collecting (extracting) URLs from given text based on locating TLD.
MIT License
241 stars 61 forks source link

Does Not extract the URL that is leading special character #131

Closed praneethpj closed 1 year ago

praneethpj commented 2 years ago

Hi,

I am trying to extract the URL from the following text, But it is not grabbing the link due to the hyphen.

EncodedText="* test link -https://www.google.com";

extractor = URLExtract() urls = extractor.find_urls(EncodedText)

print(URLs)

---output []

Do you have any idea to fix this?