Commit Graph

81 Commits (f1ba9f4ddb479ef3d0a19f926b62b0a2ce48505e)

Author SHA1 Message Date
bashonly f2919bd28e
[ie/youtube] Add `es5` and `es6` player JS variants (#14005)
Authored by: bashonly
4 months ago
bashonly 805519bfaa
[jsinterp] Fix undefined variable name caching (#13677)
Fix b342d27f3f

Authored by: bashonly
5 months ago
bashonly fca94ac5d6 [ie/youtube] Extract global nsig helper functions (#13639)
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
5 months ago
sepro 958153a226
[jsinterp] Fix `extract_object` (#13580)
Fixes sig extraction for YouTube player `e12fbea4`

Authored by: seproDev
5 months ago
Simon Sawicki 9e38b273b7
[ie/youtube] Rework nsig function name extraction (#13403)
Closes #13401

Authored by: Grub4K
6 months ago
sepro 167d7a9f0f
[jsinterp] Fix increment/decrement evaluation (#13238)
Closes #13241
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
7 months ago
bashonly 48be862b32
[ie/youtube] Make signature and nsig extraction more robust (#12761)
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
8 months ago
sepro a550dfc904
[ie/youtube] Fix signature and nsig extraction for player `4fcd6e4a` (#12748)
Closes #12746
Authored by: seproDev
8 months ago
bashonly b9c979461b
[ie/youtube] Fix signature and nsig extraction for player `363db69b` (#12725)
Closes #12724
Authored by: bashonly
8 months ago
sepro 9b868518a1
[ie/youtube] Fix nsig and signature extraction for player `643afba4` (#12684)
Closes #12677, Closes #12682
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
9 months ago
sepro 4ca8c44a07
[jsinterp] Improve zeroise (#12313)
Authored by: seproDev
10 months ago
bashonly 5460cd9189
[ie/youtube] Fix signature function extraction for `2f1832d2` (#11801)
Closes #11798
Authored by: bashonly
12 months ago
bashonly a95ee6d880
[ie/youtube] Fix `n` sig extraction for player `3bb1f723` (#11750)
Closes #11744
Authored by: bashonly
1 year ago
bashonly 4c85ccd136
[ie/youtube] Fix signature function extraction (#11751)
Closes #11748
Authored by: bashonly
1 year ago
sepro c86891eb94
[ie/youtube] Fix `n` function name extraction for player `b12cc44b` (#10668)
Authored by: seproDev
1 year ago
bashonly 011b4a04db
[ie/youtube] Fix `n` function name extraction for player `20dfca59` (#10611)
Closes #10608
Authored by: bashonly
1 year ago
bashonly 713b4cd18f
[ie/youtube] Fix `n` function name extraction for player `3400486c` (#10542)
Authored by: bashonly
1 year ago
bashonly 297b0a3792
[ie/youtube] Fix JS `n` function name extraction (#10390)
Fixes nsig decoding for player b22ef6e7

Closes #10391
Authored by: bashonly, seproDev

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
1 year ago
bashonly 6aaf96a3d6
[cleanup] Misc (#10075)
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>
1 year 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>
2 years ago
pukkandan cd810afe2a
[extractor/youtube] Improve nsig function name extraction 2 years ago
pukkandan ad54c9130e
[cleanup] Misc
Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773
Authored by: mikf, freezboltz, pukkandan
2 years ago
pukkandan 01aba2519a
[jsinterp] Fix global object extraction
Closes #7327
3 years ago
bashonly b4a252fba8
[jsinterp] Fix division (#7279)
* Fixes nsig decryption for Youtube JS player `8c7583ff`

Authored by: bashonly
3 years ago
pukkandan 1d7656184c
[jsinterp] Handle `NaN` in bitwise operators
Closes #6131
3 years ago
pukkandan 7cf51f2191
[jsinterp] Handle negative numbers better
Closes #6131
3 years ago
pukkandan 9acf1ee25f
[jsinterp] Handle `Date` at epoch 0
Closes #6400
3 years ago
pukkandan 8b008d6254
[jsinterp] Support `if` statements
Closes #6131
3 years ago
pukkandan 0468a3b325
[jsinterp] Improve separating regex
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
3 years ago
pukkandan 1a7c9fad9f
[jsinterp] Workaround operator associativity issue
https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
3 years ago
pukkandan 05deb747bb
[jsinterp] Fix escape in regex 3 years ago
pukkandan c4b2df872d
[jsinterp] Fix `_separate`
Ref: https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1231126941
3 years ago
pukkandan 164b03c486
[jsinterp] Fix bug in operator precedence
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1226659543
3 years ago
pukkandan 90a1df305b
[test] Fix test_youtube_signature 3 years ago
pukkandan f6ca640b12
[jsinterp] Fix for youtube player 1f7d5369
Closes #4635 again
3 years ago
pukkandan 6d3e7424bf
[jsinterp] Fix for youtube player c81bbb4a 3 years ago
pukkandan 49b4ceaedf
[jsinterp] Bring or-par with youtube-dl
Partially cherry-picked from: d231b56717

Authored by pukkandan, dirkf
3 years ago
pukkandan 8f53dc44a0
[jsinterp] Handle new youtube signature functions
Closes #4635
3 years ago
pukkandan 14f25df2b6
[compat] Remove deprecated functions from core code 3 years ago
pukkandan 54007a45f1
[cleanup] Consistent style for file heads 3 years ago
pukkandan 19a0394044
[cleanup] Misc cleanup and refactor (#2173) 4 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 .
4 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
4 years ago
pukkandan f9934b9614
[cleanup] Mark some compat variables for removal (#2173)
Authored by fstirlitz, pukkandan
4 years ago
MinePlayersPE c571b3a6ab
[youtube] Fix n-sig extraction for phone player JS (#2816)
Authored by: MinePlayersPE
4 years ago
pukkandan d5a398988b
Update to ytdl-commit-78ce962
[youtube] Support channel search
78ce962f4f
4 years ago
pukkandan 48416bc4a8
[youtube] Fix n-sig for player e06dea74 4 years ago
pukkandan b69fd25c25
[cleanup] Misc cleanup
Closes #1942 #1976 #2020 #2058 #1984
4 years ago
pukkandan 57dbe8077f
[jsinterp] Fix splice to handle float
Needed for new youtube js player f1ca6900
Closes #1767
4 years ago
pukkandan 9222c38182
[cleanup] Minor cleanup
Closes #1696, Closes #1673
4 years ago