Revision 0180e2785ed19ca48d3b15011b33bb87df8a6e48 authored by Jeremy Low on 20 October 2016, 22:11:31 UTC, committed by Jeremy Low on 20 October 2016, 22:11:31 UTC
Some of the URLs acknowledged by Twitter are not counted, most are.
Some that Twitter says are not URLs, count as URLs.
It is not perfect, but it covers a number of use cases. See
tests/test_url_regex.py - the commented out URLs are the edge cases
that are not addressed.
1 parent 77a9483
History
File Mode Size
doc
examples
testdata
tests
twitter
.gitignore -rw-r--r-- 478 bytes
AUTHORS.rst -rw-r--r-- 701 bytes
CHANGES -rw-r--r-- 21.6 KB
COPYING -rw-r--r-- 605 bytes
GAE.rst -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 11.1 KB
MANIFEST.in -rw-r--r-- 118 bytes
Makefile -rw-r--r-- 1.5 KB
NOTICE -rw-r--r-- 109 bytes
README.rst -rw-r--r-- 8.3 KB
circle.yml -rw-r--r-- 158 bytes
coveragerc -rw-r--r-- 23 bytes
get_access_token.py -rwxr-xr-x 2.9 KB
pytest.ini -rw-r--r-- 237 bytes
requirements.docs.txt -rw-r--r-- 58 bytes
requirements.testing.txt -rw-r--r-- 168 bytes
requirements.txt -rw-r--r-- 34 bytes
setup.cfg -rw-r--r-- 210 bytes
setup.py -rwxr-xr-x 2.7 KB
test.py -rw-r--r-- 152 bytes
tox.ini -rw-r--r-- 689 bytes

README.rst

back to top