Yen Chi Hsuan
|
95f3f7c20a
|
[utils] Fix unescapeHTML for misformed string like "&a"" (#13935)
|
7 years ago |
Sergey M․
|
5b232f46dc
|
[utils] Skip missing params in cli_bool_option (closes #13865)
|
7 years ago |
Sergey M․
|
dee2ff1d81
|
[test_utils] Fix tests under Windows
|
8 years ago |
Yen Chi Hsuan
|
609ff8ca19
|
[utils] Support attributes with no values in get_elements_by_attribute()
|
8 years ago |
Sergey M․
|
b4a3d461e4
|
[utils] Handle HTMLParseError in extract_attributes (closes #13349)
|
8 years ago |
Sergey M․
|
2ae2ffda5e
|
[utils] Improve unified_timestamp
|
8 years ago |
Yen Chi Hsuan
|
5552c9eb0f
|
[utils] Recognize more patterns in strip_jsonp()
Used in Youku Show pages
|
8 years ago |
Yen Chi Hsuan
|
0c26548601
|
[cda] Implement birthday verification (closes #12789)
|
8 years ago |
Sergey M․
|
deef31955b
|
[utils] Improve unified_timestamp
Seen at http://zaq1.pl/video/xev0e
|
8 years ago |
Tithen-Firion
|
9222d94510
|
[test_utils] Add one more clean_html test
|
8 years ago |
Remita Amine
|
5b995f713b
|
[utils] add support for ttml styles
|
8 years ago |
Sergey M․
|
a426ef6d78
|
[test_utils] Do not use dash in env variables' names
|
8 years ago |
Sergey M․
|
41c5e60dd5
|
[test_utils] Fix expand_path tests
|
8 years ago |
Sergey M․
|
51098426b8
|
[utils] Introduce expand_path
|
8 years ago |
Sergey M․
|
4b5de77bdb
|
[utils] Process bytestrings in urljoin (closes #12369)
|
8 years ago |
Yen Chi Hsuan
|
f48409c7ac
|
[utils] Add pkcs1pad
Used in daisuki.net (#4738)
|
8 years ago |
Thomas Christlieb
|
2af12ad9d2
|
Introduce get_elements_by_class and get_elements_by_attribute utility functions
|
8 years ago |
Sergey M․
|
4195096ea8
|
[utils] Improve comments processing in js_to_json (closes #11947)
|
8 years ago |
Michal Čihař
|
b3ee552e4b
|
[utils] Handle single-line comments in js_to_json
|
8 years ago |
Sergey M․
|
15846398ca
|
[utils] Improve parse_duration
|
8 years ago |
Sergey M․
|
cb655f34fb
|
[utils] Add more date formats
|
8 years ago |
Remita Amine
|
7fe1592073
|
[common] fix dash codec information for mixed videos and fragment url construction(#11490)
|
8 years ago |
Sergey M․
|
b0c65c677f
|
[utils] Improve urljoin
|
8 years ago |
Sergey M․
|
e34c33614d
|
[utils] Add convenience urljoin
|
8 years ago |
Yen Chi Hsuan
|
582be35847
|
Update coding style after pycodestyle 2.1.0
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.
See https://github.com/PyCQA/pycodestyle/issues/400
See also #10689; thanks @stepshal for first mentioning this issue and
initial patches
|
8 years ago |
Sergey M․
|
02dc0a36b7
|
[utils] Introduce base_url
|
8 years ago |
Sergey M․
|
c6eed6b8c0
|
[utils] Lower priority for rare date formats and add tests
|
8 years ago |
Sergey M․
|
3e4185c396
|
[utils] Use native french month names
|
8 years ago |
Sergey M․
|
f6717dec8a
|
[utils] Improve month_by_name and add tests
|
8 years ago |
Sergey M․
|
6562d34a8c
|
[utils] Improve mimetype2ext
|
8 years ago |
Yen Chi Hsuan
|
70852b47ca
|
[utils] Recognize units with full names in parse_filename
Reference: https://en.wikipedia.org/wiki/Template:Quantities_of_bytes
|
8 years ago |
Yen Chi Hsuan
|
e4659b4547
|
[utils] Correct octal/hexadecimal number detection in js_to_json
|
8 years ago |
Sergey M․
|
13585d7682
|
[utils] Recognize lowercase units in parse_filesize
|
8 years ago |
Remita Amine
|
5f2c2b7936
|
[test_utils] add test for option with not str value
|
8 years ago |
Sergey M․
|
a8795327ca
|
[utils] Add support TV Parental Guidelines ratings in parse_age_limit
|
9 years ago |
Yen Chi Hsuan
|
7dc2a74e0a
|
[utils] Fix unified_timestamp for formats parsed by parsedate_tz()
|
9 years ago |
Yen Chi Hsuan
|
84c237fb8a
|
[utils] Add get_element_by_class
For #9950
|
9 years ago |
Remita Amine
|
dfaa86b75e
|
[test_utils] add test for smuggling a smuggled url
|
9 years ago |
remitamine
|
4f3c5e0627
|
[utils] add helper function for parsing codecs
|
9 years ago |
Yen Chi Hsuan
|
1143535d76
|
[utils] Add urshift()
Used in IqiyiIE and LeIE
|
9 years ago |
Sergey M․
|
46f59e89ea
|
[utils] Add unified_timestamp
|
9 years ago |
Yen Chi Hsuan
|
47212f7bcb
|
[utils] Don't transform numbers not starting with a zero
Fix test_Viidea and maybe others
|
9 years ago |
Yen Chi Hsuan
|
55b2f099c0
|
[utils] Decode HTML5 entities
Used in test_Vporn_1. Also related to #9270
|
9 years ago |
bzc6p
|
b96f007eeb
|
Added sanitization support for Hungarian letters Ő and Ű
|
9 years ago |
Sergey M․
|
46bc9b7d7c
|
[utils] Allow None in remove_{start,end}
|
9 years ago |
Sergey M․
|
364cf465dd
|
[test_utils] PEP 8
|
9 years ago |
Sergey M․
|
89ac4a19e6
|
[utils] Process non-base 10 integers in js_to_json
|
9 years ago |
felix
|
bd1e484448
|
[utils] js_to_json: various improvements
now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON.
|
9 years ago |
Yen Chi Hsuan
|
778a1ccca7
|
[utils] Add Œ and œ found in French to ACCENT_CHARS
Fixes #9463
|
9 years ago |
Yen Chi Hsuan
|
dab0daeeb0
|
[utils,compat] Move struct_pack and struct_unpack to compat.py
|
9 years ago |