sepro
c86891eb94
[ie/youtube] Fix `n` function name extraction for player `b12cc44b` ( #10668 )
...
Authored by: seproDev
3 months ago
bashonly
011b4a04db
[ie/youtube] Fix `n` function name extraction for player `20dfca59` ( #10611 )
...
Closes #10608
Authored by: bashonly
3 months ago
bashonly
713b4cd18f
[ie/youtube] Fix `n` function name extraction for player `3400486c` ( #10542 )
...
Authored by: bashonly
4 months 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>
4 months 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>
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
cd810afe2a
[extractor/youtube] Improve nsig function name extraction
1 year ago
pukkandan
ad54c9130e
[cleanup] Misc
...
Closes #6288 , Closes #7197 , Closes #7265 , Closes #7353 , Closes #5773
Authored by: mikf, freezboltz, pukkandan
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
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
9acf1ee25f
[jsinterp] Handle `Date` at epoch 0
...
Closes #6400
2 years ago
pukkandan
8b008d6254
[jsinterp] Support `if` statements
...
Closes #6131
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
05deb747bb
[jsinterp] Fix escape in regex
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
90a1df305b
[test] Fix test_youtube_signature
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
14f25df2b6
[compat] Remove deprecated functions from core code
2 years ago
pukkandan
54007a45f1
[cleanup] Consistent style for file heads
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
pukkandan
f9934b9614
[cleanup] Mark some compat variables for removal ( #2173 )
...
Authored by fstirlitz, pukkandan
3 years ago
MinePlayersPE
c571b3a6ab
[youtube] Fix n-sig extraction for phone player JS ( #2816 )
...
Authored by: MinePlayersPE
3 years ago
pukkandan
d5a398988b
Update to ytdl-commit-78ce962
...
[youtube] Support channel search
78ce962f4f
3 years ago
pukkandan
48416bc4a8
[youtube] Fix n-sig for player e06dea74
3 years ago
pukkandan
b69fd25c25
[cleanup] Misc cleanup
...
Closes #1942 #1976 #2020 #2058 #1984
3 years ago
pukkandan
57dbe8077f
[jsinterp] Fix splice to handle float
...
Needed for new youtube js player f1ca6900
Closes #1767
3 years ago
pukkandan
9222c38182
[cleanup] Minor cleanup
...
Closes #1696 , Closes #1673
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
pukkandan
060ac76257
[test] Use `pytest` instead of `nosetests` ( #482 )
...
`nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099
and will stop working in py 3.10 as can be seen in #480
3 years ago
felix
cc52de4356
[cleanup] Point all shebang to `python3` ( #372 )
...
Authored by: fstirlitz
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
pukkandan
cc2db87805
Update to ytdl-2021.02.10
...
Except: [archiveorg] Fix and improve extraction (5fc53690cbe6abb11941a3f4846b566a7472753e)
4 years ago
pukkandan
545cc85d11
[youtube] Update to ytdl-2021.02.04.1
4 years ago
Unknown
cefecac12c
[skip travis] renaming
...
to avoid using same folder when using pip install for example
4 years ago
Sergey M․
e40c758c2a
[youtube] Improve player id extraction and add tests
5 years ago
Yen Chi Hsuan
582be35847
Update coding style after pycodestyle 2.1.0
...
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
8 years ago
Philipp Hagemeister
3eff81fbf7
[jsinterp] Disable comment support
...
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 .
10 years ago
Philipp Hagemeister
6a78740211
[test/test_youtube_signature] Use fake YDL
10 years ago
Michael Käufl
498942f187
[test_youtube_signature] Fix import
...
Broken in commit 8c25f81bee
10 years ago
Philipp Hagemeister
6be451f422
[youtube] Remove swf signature test cases
...
These files are now 0 Bytes
10 years ago