Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Reference: https://en.wikipedia.org/wiki/Template:Quantities_of_bytes
|
|
|
|
|
|
|
|
|
|
|
|
[extractor/common] add helper method to extract html5 media entries
|
|
For #9950
|
|
|
|
|
|
Used in IqiyiIE and LeIE
|
|
|
|
Fix test_Viidea and maybe others
|
|
Used in test_Vporn_1. Also related to #9270
|
|
|
|
|
|
|
|
|
|
now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON.
|
|
Fixes #9463
|
|
|
|
file names in restricted mode, replace them with their non-accented equivalents fixes #9347
|
|
file names in restricted mode, replace them with their non-accented equivalents fixes #9347
|
|
[utils] imporove parse_duration to handle more formats
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[utils] Add extract_attributes for extracting html tag attributes
|
|
|
|
|
|
|
|
This is much more robust than just using regexps, and handles all
the common scenarios, such as empty/no values, repeated attributes,
entity decoding, mixed case names, and the different possible value
quoting schemes.
|
|
1. Renamed to encode_base_n()
2. Allow tables longer than 62 characters
3. Raise ValueError instead of AssertionError for invalid input data
4. Return the first character in the table instead of '0' for number 0
5. Add tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #7608
|
|
Tolerate invalid timestamps (closes #7909)
|
|
|