lipoja / URLExtract

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

find_urls method doesn't return anything #22

Closed joaovarelas closed 6 years ago

joaovarelas commented 6 years ago

Returns an empty list after I use the method find_urlson strings.


Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34) 
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from urlextract import URLExtract
>>> extract = URLExtract()
>>> urls = extract.find_urls("This is an example... https://github.com/lipoja/URLExtract/issues")
>>> print urls
[]
>>> 
joaovarelas commented 6 years ago

Update: It is working in Python3, indeed.