aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/jsinterp.py
Commit message (Collapse)AuthorAgeFilesLines
* Update to ytdl-commit-07af47pukkandan2023-06-211-1/+1
| | | | | [YouTube] Improve fix for ae8ba2c https://github.com/ytdl-org/youtube-dl/commit/07af47960f3bb262ead02490ce65c8c45c01741e
* [jsinterp] Fix global object extractionpukkandan2023-06-181-1/+1
| | | | Closes #7327
* [jsinterp] Fix division (#7279)bashonly2023-06-101-1/+1
| | | | | * 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-1/+1
| | | | | | | | | | | [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-1/+1
| | | | Closes #7030, closes #6967
* [jsinterp] Handle `NaN` in bitwise operatorspukkandan2023-05-201-1/+6
| | | | Closes #6131
* [jsinterp] Handle negative numbers betterpukkandan2023-04-271-3/+5
| | | | Closes #6131
* [cleanup, jsinterp] Give functions names to help debuggingpukkandan2023-03-031-5/+10
|
* [jsinterp] Handle `Date` at epoch 0pukkandan2023-03-031-3/+3
| | | | Closes #6400
* [jsinterp] Support `if` statementspukkandan2023-02-011-0/+15
| | | | Closes #6131
* [jsinterp] Escape regex that looks like nested setpukkandan2022-12-081-1/+2
| | | | Closes #5749
* [jsinterp] Improve separating regexpukkandan2022-10-111-2/+4
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
* [jsinterp] Workaround operator associativity issuepukkandan2022-09-021-1/+1
| | | | https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
* Update to ytdl-commit-ed5c44e7pukkandan2022-09-011-40/+53
| | | | | [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-5/+6
|
* [jsinterp] Add `charcodeAt` and bitwise overflow (#4706)Elyse2022-08-311-3/+11
| | | | Authored by: elyse0
* [jsinterp, extractor/youtube] Minor fixespukkandan2022-08-301-4/+13
|
* [jsinterp] Fix `_separate`pukkandan2022-08-301-2/+2
| | | | Ref: https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1231126941
* [jsinterp] Fix bug in operator precedencepukkandan2022-08-251-1/+1
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1226659543
* [jsinterp] Bring on-par with youtube-dlpukkandan2022-08-191-50/+166
| | | | | | 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 1f7d5369pukkandan2022-08-181-17/+49
| | | | Closes #4635 again
* [jsinterp] Fix for youtube player c81bbb4apukkandan2022-08-161-15/+15
|
* [jsinterp] Bring or-par with youtube-dlpukkandan2022-08-151-19/+35
| | | | | | 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-113/+226
| | | | Closes #4635
* [jsinterp] Truncate error messagespukkandan2022-08-121-15/+19
| | | | Related: #4635
* [jsinterp] Some optimizations and refactoringpukkandan2022-06-211-109/+98
| | | | | | Motivated by: https://github.com/ytdl-org/youtube-dl/issues/30641#issuecomment-1041904912 Authored by: dirkf, pukkandan
* [cleanup] Misc fixes (see desc)pukkandan2022-06-121-1/+7
| | | | | | | | | | | | | | * [tvver] Fix bug in 6837633a4a614920b6e43ffc6b4b8590dca8c9d7 - Closes #4054 * [rumble] Fix tests - Closes #3976 * [make] Remove `cat` abuse - Closes #3989 * [make] Revert #3684 - Closes #3814 * [utils] Improve `get_elements_by_class` - Closes #3993 * [utils] Inherit `Namespace` from `types.SimpleNamespace` * [utils] Use `re.fullmatch` for matching filters * [jsinterp] Handle quotes in `_separate` * [make_readme] Allow overshooting last line Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
* [cleanup] Misc cleanup and refactor (#2173)pukkandan2022-04-181-32/+9
|
* [cleanup] Sort importspukkandan2022-04-121-5/+2
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-8/+8
| | | | | | | | | | 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
* [cleanup] Fix some typos (#2033)Unit 1932021-12-191-32/+32
| | | Authored by: unit193
* [cleanup] Refactor `JSInterpreter._seperate`pukkandan2021-11-291-18/+18
|
* [jsinterp] Fix splice to handle floatpukkandan2021-11-231-1/+1
| | | | | Needed for new youtube js player f1ca6900 Closes #1767
* [jsinterp] Handle default in switch betterpukkandan2021-11-031-9/+13
|
* [youtube] Fix throttling by decrypting n-sig (#1437)pukkandan2021-10-311-107/+381
|
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-0/+262
* 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