You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kevin O'Connor
4eda10499e
[utils] Don't attempt to coerce JS strings to numbers in js_to_json ( #26851 )
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.
4 years ago
..
swftests
[ytsearch] Fix extraction (closes #26920)
4 years ago
testdata
[utils] Improve cookie files support
4 years ago
__init__.py
Add support for single-test tox runs
11 years ago
helper.py
[test/helper] Add support for maxcount and count collection len test checkers
5 years ago
parameters.json
Remove the --max-quality option
9 years ago
test_InfoExtractor.py
[extractor/common] Improve HTML5 entries extraction and add some realworld tests
5 years ago
test_YoutubeDL.py
[test_YoutubeDL] Add tests for #10591 (closes #23873)
4 years ago
test_YoutubeDLCookieJar.py
[utils] Improve cookie files support
4 years ago
test_aes.py
Fix W504 and disable W503 (closes #20863)
5 years ago
test_age_restriction.py
[test_age_restriction] remove misbehaving test
10 years ago
test_all_urls.py
[yahoo] restore support for cbs suffixed URLs
5 years ago
test_cache.py
[test_cache] Add a dot in the file name
10 years ago
test_compat.py
[test] Fix test_compat_etree_Element
5 years ago
test_download.py
[test_download] Fix download tests for lazy extractors (closes #13554, closes #13757)
6 years ago
test_downloader_http.py
[extractor/common] Ensure response handle is not prematurely closed before it can be read if it matches expected_status (resolves #17195, closes #17846, resolves #17447)
6 years ago
test_execution.py
Update coding style after pycodestyle 2.1.0
8 years ago
test_http.py
[extractor/common] Ensure response handle is not prematurely closed before it can be read if it matches expected_status (resolves #17195, closes #17846, resolves #17447)
6 years ago
test_iqiyi_sdk_interpreter.py
Update coding style after pycodestyle 2.1.0
8 years ago
test_jsinterp.py
Update coding style after pycodestyle 2.1.0
8 years ago
test_netrc.py
Make sure netrc works for all extractors with login support
9 years ago
test_options.py
[options] Typo
7 years ago
test_postprocessors.py
[tests] Fix invalid escape sequences
6 years ago
test_socks.py
[test/test_socks] Skip SOCKS tests
8 years ago
test_subtitles.py
[test_subtitles] Remove obsolete test
4 years ago
test_swfinterp.py
[tests] Modernize
10 years ago
test_unicode_literals.py
[test/unicode_literals] Don't look into the .git and .tox directories
9 years ago
test_update.py
[update] fix (unexploitable) BB'06 vulnerability in rsa_verify
8 years ago
test_utils.py
[utils] Don't attempt to coerce JS strings to numbers in js_to_json (#26851)
4 years ago
test_verbose_output.py
Update coding style after pycodestyle 2.1.0
8 years ago
test_write_annotations.py
Update coding style after pycodestyle 2.1.0
8 years ago
test_youtube_chapters.py
[youtube] Extract chapters from JSON (closes #24819)
4 years ago
test_youtube_lists.py
Fix some tests
6 years ago
test_youtube_signature.py
[youtube] Improve player id extraction and add tests
4 years ago
testcert.pem
Add a test for --no-check-certificate
9 years ago
versions.json
[update] fix (unexploitable) BB'06 vulnerability in rsa_verify
8 years ago