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

ERROR: Can not download list of TLDs. (URLError: [Errno 104] Connection reset by peer) #130

Closed koliaok closed 1 year ago

koliaok commented 2 years ago

code under:

from urlextract import URLExtract

extractor = URLExtract()
extractor.update_when_older(7)
urls = extractor.find_urls("Text with URLs. Let's have URL janlipovsky.cz as an example.")

Library version: urlextract==1.6.0

lipoja commented 2 years ago

Hello @koliaok, I would need more information: Where are you running the code? Is the user who is running it able to write to /tmp?

lipoja commented 1 year ago

Closing issue. Lack of information to reproduce it.