Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [utils] Don't attempt to coerce JS strings to numbers in js_to_json (#26851) | Kevin O'Connor | 2020-10-18 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current logic in `js_to_json` tries to rewrite octal/hex numbers to decimal. However, when the logic actually happens the `"` or `'` have already been trimmed off. This causes what were originally strings, that happen to look like octal/hex numbers, to get rewritten to decimal and returned as a number rather than a string. In practive something like: ```js { "0x40": "foo", "040": "bar", } ``` would get rewritten as: ```json { 64: "foo", 32: "bar } ``` This is problematic since this isn't valid JSON as you cannot have non-string keys. | ||||
* | [utils] Recognize wav mimetype (closes #26463) | Sergey M․ | 2020-09-06 | 1 | -0/+2 |
| | |||||
* | [utils] Improve str_to_int | Sergey M․ | 2019-12-15 | 1 | -0/+5 |
| | |||||
* | [utils] handle int values passed to str_to_int | Remita Amine | 2019-11-29 | 1 | -0/+1 |
| | |||||
* | [utils] Add generic caesar cipher and rot47 | Sergey M․ | 2019-11-27 | 1 | -0/+16 |
| | |||||
* | [utils] Handle rd-suffixed day parts in unified_strdate (#23199) | InfernalUnderling | 2019-11-27 | 1 | -0/+2 |
| | |||||
* | [utils] Improve subtitles_filename (closes #22753) | Sergey M․ | 2019-10-18 | 1 | -0/+6 |
| | |||||
* | [utils] Restrict parse_codecs and add theora as known vcodec (#21381) | Sergey M․ | 2019-06-14 | 1 | -0/+9 |
| | |||||
* | [utils] Improve strip_or_none | Sergey M․ | 2019-05-24 | 1 | -0/+13 |
| | |||||
* | [utils] Transliterate "þ" as "th" (#20897) | Jakub Wilk | 2019-05-11 | 1 | -1/+1 |
| | | | | | | | Despite visual similarity "þ" is unrelated to "p". It is normally transliterated as "th": $ echo þ-Þ | iconv -t ASCII//TRANSLIT th-TH | ||||
* | [utils] Improve int_or_none and float_or_none (#20403) | Sergey M․ | 2019-03-23 | 1 | -0/+17 |
| | |||||
* | [utils] Introduce parse_bitrate | Sergey M․ | 2019-03-17 | 1 | -0/+8 |
| | |||||
* | [utils] Fix urljoin for paths with non-http(s) schemes | Sergey M․ | 2019-01-20 | 1 | -0/+2 |
| | |||||
* | [utils] Properly recognize AV1 codec (closes #17506) | Sergey M․ | 2018-09-10 | 1 | -0/+4 |
| | |||||
* | [utils] Introduce url_or_none | Sergey M․ | 2018-07-21 | 1 | -0/+11 |
| | |||||
* | [utils] Allow JSONP with empty func name (closes #17028) | Sergey M․ | 2018-07-21 | 1 | -0/+4 |
| | |||||
* | [openload] Improve ext extraction | Enes | 2018-06-02 | 1 | -0/+1 |
| | |||||
* | [test_utils] add tests for b836118724122a639a1cb78d55d91724bf1e7251 | Remita Amine | 2018-05-23 | 1 | -0/+2 |
| | |||||
* | [utils] Introduce merge_dicts | Sergey M․ | 2018-04-28 | 1 | -0/+12 |
| | |||||
* | [utils] Fix match_str for boolean meta fields | Sergey M․ | 2018-04-24 | 1 | -0/+12 |
| | |||||
* | [tennistv] Add support for tennistv.com | Philipp Hagemeister | 2018-03-14 | 1 | -0/+1 |
| | |||||
* | [utils] Add parse_resolution | Sergey M․ | 2018-03-02 | 1 | -0/+11 |
| | |||||
* | [utils] Fixup some common URL's typos in sanitize_url (closes #15649) | Sergey M․ | 2018-02-19 | 1 | -0/+7 |
| | |||||
* | [test_utils] Add tests for malformed JSON handling in js_to_json | Sergey M․ | 2018-01-20 | 1 | -0/+4 |
| | |||||
* | [util] Improve scientific notation handling in js_to_json (closes #14789) | Mike Fährmann | 2018-01-20 | 1 | -0/+6 |
| | |||||
* | [utils] Add another date format pattern (#14999) | Sergey M․ | 2017-12-16 | 1 | -0/+1 |
| | |||||
* | [utils] Add support for zero years and months in parse_duration | Sergey M․ | 2017-10-29 | 1 | -0/+1 |
| | |||||
* | [utils] Use bytes-like objects in dfxp2srt | Yen Chi Hsuan | 2017-09-16 | 1 | -3/+23 |
| | | | | | | This fixes handling of non-UTF8 TTML subtitles Closes #14191 | ||||
* | [utils] Fix unescapeHTML for misformed string like "&a"" (#13935) | Yen Chi Hsuan | 2017-08-19 | 1 | -0/+1 |
| | |||||
* | [utils] Skip missing params in cli_bool_option (closes #13865) | Sergey M․ | 2017-08-09 | 1 | -0/+4 |
| | |||||
* | [test_utils] Fix tests under Windows | Sergey M․ | 2017-07-06 | 1 | -2/+5 |
| | |||||
* | [utils] Support attributes with no values in get_elements_by_attribute() | Yen Chi Hsuan | 2017-07-05 | 1 | -0/+6 |
| | |||||
* | [utils] Handle HTMLParseError in extract_attributes (closes #13349) | Sergey M․ | 2017-06-12 | 1 | -0/+2 |
| | |||||
* | [utils] Improve unified_timestamp | Sergey M․ | 2017-06-11 | 1 | -0/+1 |
| | |||||
* | [utils] Recognize more patterns in strip_jsonp() | Yen Chi Hsuan | 2017-05-26 | 1 | -0/+8 |
| | | | | Used in Youku Show pages | ||||
* | [cda] Implement birthday verification (closes #12789) | Yen Chi Hsuan | 2017-05-04 | 1 | -0/+11 |
| | |||||
* | [utils] Improve unified_timestamp | Sergey M․ | 2017-04-30 | 1 | -0/+1 |
| | | | | Seen at http://zaq1.pl/video/xev0e | ||||
* | [test_utils] Add one more clean_html test | Tithen-Firion | 2017-04-28 | 1 | -0/+1 |
| | |||||
* | [utils] add support for ttml styles | Remita Amine | 2017-04-19 | 1 | -0/+41 |
| | |||||
* | [test_utils] Do not use dash in env variables' names | Sergey M․ | 2017-03-26 | 1 | -4/+4 |
| | |||||
* | [test_utils] Fix expand_path tests | Sergey M․ | 2017-03-26 | 1 | -3/+8 |
| | |||||
* | [utils] Introduce expand_path | Sergey M․ | 2017-03-26 | 1 | -0/+10 |
| | |||||
* | [utils] Process bytestrings in urljoin (closes #12369) | Sergey M․ | 2017-03-06 | 1 | -0/+3 |
| | |||||
* | [utils] Add pkcs1pad | Yen Chi Hsuan | 2017-02-28 | 1 | -0/+9 |
| | | | | Used in daisuki.net (#4738) | ||||
* | Introduce get_elements_by_class and get_elements_by_attribute utility functions | Thomas Christlieb | 2017-02-11 | 1 | -0/+29 |
| | |||||
* | [utils] Improve comments processing in js_to_json (closes #11947) | Sergey M․ | 2017-02-03 | 1 | -0/+24 |
| | |||||
* | [utils] Handle single-line comments in js_to_json | Michal Čihař | 2017-02-03 | 1 | -0/+3 |
| | |||||
* | [utils] Improve parse_duration | Sergey M․ | 2017-01-26 | 1 | -0/+1 |
| | |||||
* | [utils] Add more date formats | Sergey M․ | 2017-01-12 | 1 | -0/+3 |
| | |||||
* | [common] fix dash codec information for mixed videos and fragment url ↵ | Remita Amine | 2016-12-20 | 1 | -0/+1 |
| | | | | construction(#11490) |