Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

.co domains are not considered urls #32

Open
pykler opened this issue Jan 19, 2016 · 0 comments
Open

.co domains are not considered urls #32

pykler opened this issue Jan 19, 2016 · 0 comments

Comments

@pykler
Copy link

pykler commented Jan 19, 2016

In [26]: twitter_text.TwitterText('myweb.co').validation.tweet_length()
Out[26]: 8

In [27]: twitter_text.TwitterText('myweb.co').extractor.extract_urls()
Out[27]: []

where as

In [28]: twitter_text.TwitterText('myweb.com').extractor.extract_urls()
Out[28]: [u'myweb.com']

the twitter/twitter-text library parses this correctly, here is an example https://plnkr.co/edit/CrHLALTraGQTy0zptWkA?p=preview

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant