aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_jsinterp.py
Commit message (Collapse)AuthorAgeFilesLines
* Update to ytdl-commit-07af47pukkandan2023-06-211-0/+26
| | | | | [YouTube] Improve fix for ae8ba2c https://github.com/ytdl-org/youtube-dl/commit/07af47960f3bb262ead02490ce65c8c45c01741e
* [cleanup] Miscpukkandan2023-06-211-29/+38
| | | | | Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773 Authored by: mikf, freezboltz, pukkandan
* [jsinterp] Fix division (#7279)bashonly2023-06-101-0/+7
| | | | | * Fixes nsig decryption for Youtube JS player `8c7583ff` Authored by: bashonly
* [jsinterp] Do not compile regexpukkandan2023-05-241-1/+3
|
* Update to ytdl-commit-d1c6c5pukkandan2023-05-241-6/+26
| | | | | | | | | | | [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
* [cleanup] Miscpukkandan2023-05-201-361/+201
| | | | Closes #7030, closes #6967
* [jsinterp] Handle `NaN` in bitwise operatorspukkandan2023-05-201-0/+10
| | | | Closes #6131
* [jsinterp] Handle negative numbers betterpukkandan2023-04-271-0/+16
| | | | Closes #6131
* [jsinterp] Support `if` statementspukkandan2023-02-011-0/+32
| | | | Closes #6131
* [jsinterp] Improve separating regexpukkandan2022-10-111-0/+5
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
* [cleanup] Miscpukkandan2022-09-011-1/+1
| | | | | Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
* Update to ytdl-commit-ed5c44e7pukkandan2022-09-011-0/+35
| | | | | [compat] Replace deficient ChainMap class in Py3.3 and earlier https://github.com/ytdl-org/youtube-dl/commit/ed5c44e7b74ac77f87ca5ed6cb5e964a0c6a0678
* [jsinterp] Fix escape in regexpukkandan2022-09-011-0/+5
|
* [jsinterp] Add `charcodeAt` and bitwise overflow (#4706)Elyse2022-08-311-0/+16
| | | | Authored by: elyse0
* [jsinterp, extractor/youtube] Minor fixespukkandan2022-08-301-0/+5
|
* [jsinterp] Bring on-par with youtube-dlpukkandan2022-08-191-1/+119
| | | | | | Code from: https://github.com/ytdl-org/youtube-dl/pull/31175, https://github.com/ytdl-org/youtube-dl/pull/31182 Authored by pukkandan, dirkf
* [jsinterp] Fix for youtube player c81bbb4apukkandan2022-08-161-0/+5
|
* [jsinterp] Bring or-par with youtube-dlpukkandan2022-08-151-0/+30
| | | | | | Partially cherry-picked from: https://github.com/ytdl-org/youtube-dl/commit/d231b56717c73ee597d2e077d11b69ed48a1b02d Authored by pukkandan, dirkf
* [jsinterp] Handle new youtube signature functionspukkandan2022-08-141-6/+23
| | | | Closes #4635
* [cleanup] Consistent style for file headspukkandan2022-06-251-0/+2
|
* [cleanup] Sort importspukkandan2022-04-121-0/+1
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-3/+0
| | | | | | | | | | 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
* [jsinterp] Handle default in switch betterpukkandan2021-11-031-0/+15
|
* [youtube] Fix throttling by decrypting n-sig (#1437)pukkandan2021-10-311-0/+50
|
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-1/+1
| | | | | | | | | * 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
* [skip travis] renamingUnknown2020-09-021-1/+1
| | | to avoid using same folder when using pip install for example
* Update coding style after pycodestyle 2.1.0Yen Chi Hsuan2016-11-171-0/+1
| | | | | | | | | | 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
* [jsinterp] Fix function calls without arguments.Kacper Michajłow2016-11-111-0/+7
|
* [jsinterp] Support alternative function definition formYen Chi Hsuan2015-11-101-0/+3
|
* [jsinterp] Disable comment supportPhilipp Hagemeister2015-02-181-0/+11
| | | | | | | | 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.
* [jsinterp] Beef up and add testsPhilipp Hagemeister2015-02-011-0/+95
In preparation for #4822, extend jsinterp by a lot. (We may even have to/want to write a proper interpreter with actual parsing)