Simon Sawicki
6c056ea7ae
[jsinterp] Implement `Function.prototype` resolving for `call` and `apply` ( #10392 )
...
Authored by: Grub4K
4 months ago
sepro
7814c50948
[cleanup] Bump ruff to 0.5.x ( #10282 )
...
Authored by: seproDev
4 months ago
sepro
add96eb9f8
[cleanup] Add more ruff rules ( #10149 )
...
Authored by: seproDev
Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
5 months ago
pukkandan
42f2d40b47
Update to ytdl-commit-07af47
...
[YouTube] Improve fix for ae8ba2c
07af47960f
1 year ago
pukkandan
01aba2519a
[jsinterp] Fix global object extraction
...
Closes #7327
1 year ago
bashonly
b4a252fba8
[jsinterp] Fix division ( #7279 )
...
* Fixes nsig decryption for Youtube JS player `8c7583ff`
Authored by: bashonly
1 year ago
pukkandan
7aeda6cc9e
[jsinterp] Do not compile regex
1 year ago
pukkandan
4823ec9f46
Update to ytdl-commit-d1c6c5
...
[YouTube] [core] Improve platform debug log, based on yt-dlp
d1c6c5c4d6
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
1 year ago
pukkandan
6f2287cb18
[cleanup] Misc
...
Closes #7030 , closes #6967
2 years ago
pukkandan
1d7656184c
[jsinterp] Handle `NaN` in bitwise operators
...
Closes #6131
2 years ago
pukkandan
7cf51f2191
[jsinterp] Handle negative numbers better
...
Closes #6131
2 years ago
pukkandan
b2e0343ba0
[cleanup, jsinterp] Give functions names to help debugging
2 years ago
pukkandan
9acf1ee25f
[jsinterp] Handle `Date` at epoch 0
...
Closes #6400
2 years ago
pukkandan
8b008d6254
[jsinterp] Support `if` statements
...
Closes #6131
2 years ago
pukkandan
b44cd29851
[jsinterp] Escape regex that looks like nested set
...
Closes #5749
2 years ago
pukkandan
0468a3b325
[jsinterp] Improve separating regex
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
2 years ago
pukkandan
1a7c9fad9f
[jsinterp] Workaround operator associativity issue
...
https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
2 years ago
pukkandan
1ac7f46184
Update to ytdl-commit-ed5c44e7
...
[compat] Replace deficient ChainMap class in Py3.3 and earlier
ed5c44e7b7
2 years ago
pukkandan
05deb747bb
[jsinterp] Fix escape in regex
2 years ago
Elyse
f26af78a8a
[jsinterp] Add `charcodeAt` and bitwise overflow ( #4706 )
...
Authored by: elyse0
2 years ago
pukkandan
d81ba7d491
[jsinterp, extractor/youtube] Minor fixes
2 years ago
pukkandan
c4b2df872d
[jsinterp] Fix `_separate`
...
Ref: https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1231126941
2 years ago
pukkandan
164b03c486
[jsinterp] Fix bug in operator precedence
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1226659543
2 years ago
pukkandan
be13a6e525
[jsinterp] Bring on-par with youtube-dl
...
Code from: https://github.com/ytdl-org/youtube-dl/pull/31175 , https://github.com/ytdl-org/youtube-dl/pull/31182
Authored by pukkandan, dirkf
2 years ago
pukkandan
f6ca640b12
[jsinterp] Fix for youtube player 1f7d5369
...
Closes #4635 again
2 years ago
pukkandan
6d3e7424bf
[jsinterp] Fix for youtube player c81bbb4a
2 years ago
pukkandan
49b4ceaedf
[jsinterp] Bring or-par with youtube-dl
...
Partially cherry-picked from: d231b56717
Authored by pukkandan, dirkf
2 years ago
pukkandan
8f53dc44a0
[jsinterp] Handle new youtube signature functions
...
Closes #4635
2 years ago
pukkandan
a1c5bd82ec
[jsinterp] Truncate error messages
...
Related: #4635
2 years ago
pukkandan
230d5c8239
[jsinterp] Some optimizations and refactoring
...
Motivated by: https://github.com/ytdl-org/youtube-dl/issues/30641#issuecomment-1041904912
Authored by: dirkf, pukkandan
2 years ago
pukkandan
64fa820ccf
[cleanup] Misc fixes (see desc)
...
* [tvver] Fix bug in 6837633a4a
- 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
2 years ago
pukkandan
19a0394044
[cleanup] Misc cleanup and refactor ( #2173 )
3 years ago
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
3 years ago
pukkandan
86e5f3ed2e
[cleanup] Upgrade syntax
...
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
3 years ago
Unit 193
e75bb0d6c3
[cleanup] Fix some typos ( #2033 )
...
Authored by: unit193
3 years ago
pukkandan
06dfe0a0a2
[cleanup] Refactor `JSInterpreter._seperate`
3 years ago
pukkandan
57dbe8077f
[jsinterp] Fix splice to handle float
...
Needed for new youtube js player f1ca6900
Closes #1767
3 years ago
pukkandan
a1fc7ca074
[jsinterp] Handle default in switch better
3 years ago
pukkandan
404f611f1c
[youtube] Fix throttling by decrypting n-sig ( #1437 )
3 years ago
Pccode66
7a5c1cfe93
Completely change project name to yt-dlp ( #85 )
...
* 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
4 years ago