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