aboutsummaryrefslogtreecommitdiff
path: root/test/test_jsinterp.py
AgeCommit message (Collapse)Author
2025-03-27[jsinterp] Fix nested attributes and object extraction (#12760)bashonly
Authored by: bashonly, seproDev Co-authored-by: sepro <sepro@sepr0.com>
2025-03-21[cleanup] Misc (#12526)Simon Sawicki
Authored by: Grub4K, seproDev, gamer191, dirkf Co-authored-by: sepro <sepro@sepr0.com>
2025-03-21[ie/youtube] Fix nsig and signature extraction for player `643afba4` (#12684)sepro
Closes #12677, Closes #12682 Authored by: seproDev, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2025-02-09[jsinterp] Improve zeroise (#12313)sepro
Authored by: seproDev
2025-02-08[jsinterp] Add `js_number_to_string` (#12110)Simon Sawicki
Authored by: Grub4K
2024-08-05[jsinterp] Improve `slice` implementation (#10664)sepro
Authored by: seproDev
2024-07-08[jsinterp] Implement `Function.prototype` resolving for `call` and `apply` ↵Simon Sawicki
(#10392) Authored by: Grub4K
2024-07-01[cleanup] Misc (#10075)bashonly
Closes #10303 Authored by: bashonly, seproDev, jucor, c-basalt Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com> Co-authored-by: Julien Cornebise <julien@cornebise.com> Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
2023-06-21Update to ytdl-commit-07af47pukkandan
[YouTube] Improve fix for ae8ba2c https://github.com/ytdl-org/youtube-dl/commit/07af47960f3bb262ead02490ce65c8c45c01741e
2023-06-21[cleanup] Miscpukkandan
Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773 Authored by: mikf, freezboltz, pukkandan
2023-06-10[jsinterp] Fix division (#7279)bashonly
* Fixes nsig decryption for Youtube JS player `8c7583ff` Authored by: bashonly
2023-05-24[jsinterp] Do not compile regexpukkandan
2023-05-24Update to ytdl-commit-d1c6c5pukkandan
[YouTube] [core] Improve platform debug log, based on yt-dlp https://github.com/ytdl-org/youtube-dl/commit/d1c6c5c4d618fa950813c0c71aede34a5ac851e9 Except: * 6ed34338285f722d0da312ce0af3a15a077a3e2a [jsinterp] Add short-cut evaluation for common expression * There was no performance improvement when tested with https://github.com/ytdl-org/youtube-dl/issues/30641 * e8de54bce50f6f77a4d7e8e80675f7003d5bf630 [core] Handle `/../` sequences in HTTP URLs * We plan to implement this differently
2023-05-20[cleanup] Miscpukkandan
Closes #7030, closes #6967
2023-05-20[jsinterp] Handle `NaN` in bitwise operatorspukkandan
Closes #6131
2023-04-27[jsinterp] Handle negative numbers betterpukkandan
Closes #6131
2023-02-01[jsinterp] Support `if` statementspukkandan
Closes #6131
2022-10-11[jsinterp] Improve separating regexpukkandan
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
2022-09-01[cleanup] Miscpukkandan
Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
2022-09-01Update to ytdl-commit-ed5c44e7pukkandan
[compat] Replace deficient ChainMap class in Py3.3 and earlier https://github.com/ytdl-org/youtube-dl/commit/ed5c44e7b74ac77f87ca5ed6cb5e964a0c6a0678
2022-09-01[jsinterp] Fix escape in regexpukkandan
2022-08-31[jsinterp] Add `charcodeAt` and bitwise overflow (#4706)Elyse
Authored by: elyse0
2022-08-30[jsinterp, extractor/youtube] Minor fixespukkandan
2022-08-19[jsinterp] Bring on-par with youtube-dlpukkandan
Code from: https://github.com/ytdl-org/youtube-dl/pull/31175, https://github.com/ytdl-org/youtube-dl/pull/31182 Authored by pukkandan, dirkf
2022-08-16[jsinterp] Fix for youtube player c81bbb4apukkandan
2022-08-15[jsinterp] Bring or-par with youtube-dlpukkandan
Partially cherry-picked from: https://github.com/ytdl-org/youtube-dl/commit/d231b56717c73ee597d2e077d11b69ed48a1b02d Authored by pukkandan, dirkf
2022-08-14[jsinterp] Handle new youtube signature functionspukkandan
Closes #4635
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2021-11-03[jsinterp] Handle default in switch betterpukkandan
2021-10-31[youtube] Fix throttling by decrypting n-sig (#1437)pukkandan
2021-06-06[cleanup] Point all shebang to `python3` (#372)felix
Authored by: fstirlitz
2021-02-25Completely change project name to yt-dlp (#85)Pccode66
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2016-11-17Update coding style after pycodestyle 2.1.0Yen Chi Hsuan
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
2016-11-11[jsinterp] Fix function calls without arguments.Kacper Michajłow
2015-11-10[jsinterp] Support alternative function definition formYen Chi Hsuan
2015-02-18[jsinterp] Disable comment supportPhilipp Hagemeister
We need a proper lexer to be able to understand YouTube's code, which contains /* inside of strings. For now it's sufficient to just disable comment support altogether. Fixes #4976, fixes #4979, fixes #4980, fixes #4981, fixes #4982. Closes #4977.
2015-02-01[jsinterp] Beef up and add testsPhilipp Hagemeister
In preparation for #4822, extend jsinterp by a lot. (We may even have to/want to write a proper interpreter with actual parsing)