Commit Graph

38 Commits (8ecd408f53e8fe5d3ffac61213f1f74da91b32a1)

Author SHA1 Message Date
Mike Fährmann 76581c13f7
handle URLs without '/' after their TLD (#5252)
7 months ago
Mike Fährmann ba062712ad
[tests] '__main__' -> "__main__"
7 months ago
Mike Fährmann 05255f5be0
add 'default' argument to 'text.extr()'
2 years ago
Mike Fährmann eb33e6cf2d
add 'text.extr()'
2 years ago
Mike Fährmann 67bad04dda
[formatter] add 'g' conversion to sluGify a string (#2410)
2 years ago
Mike Fährmann bddcec49f1
implement 'text.root_from_url()'
3 years ago
Mike Fährmann bc868e7bb8
consider apparently long extensions as part of the filename
3 years ago
Mike Fährmann 387fe415d5
unescape items in text.split_html()
4 years ago
Mike Fährmann 78fd63b8f0
remove 'text.clean_xml()'
4 years ago
Mike Fährmann 8553b218d9
replace calls to 'os.path.splitext()' with 'str.rpartition()'
4 years ago
Mike Fährmann 37d71f6e09
strip microseconds in text.parse_datetime()
4 years ago
Mike Fährmann 6294e2c540
add 'text.ensure_http_scheme()'
4 years ago
Mike Fährmann 5df8f2959b
insert local directory into PYTHONPATH when running tests
4 years ago
Mike Fährmann a0f4c295c0
add optional 'utcoffset' argument to 'parse_datetime()'
5 years ago
Mike Fährmann b1bea8aaeb
add 'restrict-filenames' option (#348)
5 years ago
Mike Fährmann b171befa87
implement 'parse_unicode_escapes()'
5 years ago
Mike Fährmann 2b1999476e
implement 'text.rextract()'
5 years ago
Mike Fährmann 2316e0ed3d
fix strptime workaround from b0e85a4
5 years ago
Mike Fährmann b0e85a42e3
apply workaround from 4736912 in parse_datetime() itself
5 years ago
Mike Fährmann 4736912d4e
[pixiv] work around strptime limitations in Python < 3.7
5 years ago
Mike Fährmann d09864b581
implement text.parse_datetime()
5 years ago
Mike Fährmann 6264a46212
use 'utcfromtimestamp()'
5 years ago
Mike Fährmann d670de0344
implement 'text.parse_timestamp()'
5 years ago
Mike Fährmann 21a7e395a7
implement convenience wrapper for text.extract functionality
6 years ago
Mike Fährmann 5530871b5a
change results of text.nameext_from_url()
6 years ago
Mike Fährmann e1d3e9a926
add 'ext_from_url' to text.py
6 years ago
Mike Fährmann 2d2953a5bf
add 'text.parse_float()' + cleanup in text.py
6 years ago
Mike Fährmann ae9a37a528
implement text.split_html()
6 years ago
Mike Fährmann cc36f88586
rename safe_int to parse_int; move parse_* to text module
7 years ago
Mike Fährmann 4ffa94f634
remove 'shorten_path()' and 'shorten_filename()'
7 years ago
Mike Fährmann 27eab4e467
rewrite text tests and improve functions
7 years ago
Mike Fährmann e3f2bd4087
add tests for 'text.clean_xml()' and improve it
7 years ago
Mike Fährmann 6d8b191ea7
improve 'parse_query()' and add tests
7 years ago
Mike Fährmann 4f123b8513
code adjustments according to pep8
8 years ago
Mike Fährmann eeae580781
more tests
9 years ago
Mike Fährmann ca523b9f64
add helper method to text module
9 years ago
Mike Fährmann cba4b91b14 add tests
9 years ago
Mike Fährmann 2962bf36f6 add tests for text-module
9 years ago