bashonly
b4a252fba8
[jsinterp] Fix division ( #7279 )
...
* Fixes nsig decryption for Youtube JS player `8c7583ff`
Authored by: bashonly
2023-06-10 22:49:12 +00:00
pukkandan
1d7656184c
[jsinterp] Handle NaN
in bitwise operators
...
Closes #6131
2023-05-20 04:07:17 +05:30
pukkandan
7cf51f2191
[jsinterp] Handle negative numbers better
...
Closes #6131
2023-04-27 07:52:09 +05:30
pukkandan
9acf1ee25f
[jsinterp] Handle Date
at epoch 0
...
Closes #6400
2023-03-03 16:55:06 +05:30
pukkandan
8b008d6254
[jsinterp] Support if
statements
...
Closes #6131
2023-02-01 09:40:16 +05:30
pukkandan
0468a3b325
[jsinterp] Improve separating regex
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
2022-10-11 08:02:26 +05:30
pukkandan
1a7c9fad9f
[jsinterp] Workaround operator associativity issue
...
https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
2022-09-02 20:45:55 +05:30
pukkandan
05deb747bb
[jsinterp] Fix escape in regex
2022-09-01 16:46:32 +05:30
pukkandan
c4b2df872d
[jsinterp] Fix _separate
...
Ref: https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1231126941
2022-08-30 16:06:40 +05:30
pukkandan
164b03c486
[jsinterp] Fix bug in operator precedence
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1226659543
2022-08-25 09:40:46 +05:30
pukkandan
90a1df305b
[test] Fix test_youtube_signature
2022-08-21 00:51:03 +05:30
pukkandan
f6ca640b12
[jsinterp] Fix for youtube player 1f7d5369
...
Closes #4635 again
2022-08-18 16:38:35 +05:30
pukkandan
6d3e7424bf
[jsinterp] Fix for youtube player c81bbb4a
2022-08-16 06:53:45 +05:30
pukkandan
49b4ceaedf
[jsinterp] Bring or-par with youtube-dl
...
Partially cherry-picked from: d231b56717
Authored by pukkandan, dirkf
2022-08-15 03:31:49 +05:30
pukkandan
8f53dc44a0
[jsinterp] Handle new youtube signature functions
...
Closes #4635
2022-08-14 05:12:32 +05:30
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code
2022-06-25 00:14:12 +05:30
pukkandan
54007a45f1
[cleanup] Consistent style for file heads
2022-06-25 00:08:58 +05:30
pukkandan
19a0394044
[cleanup] Misc cleanup and refactor ( #2173 )
2022-04-18 02:28:28 +05:30
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12 05:32:52 +05:30
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
2022-04-12 05:32:51 +05:30
pukkandan
f9934b9614
[cleanup] Mark some compat variables for removal ( #2173 )
...
Authored by fstirlitz, pukkandan
2022-04-12 05:32:50 +05:30
MinePlayersPE
c571b3a6ab
[youtube] Fix n-sig extraction for phone player JS ( #2816 )
...
Authored by: MinePlayersPE
2022-02-18 00:12:20 -08:00
pukkandan
d5a398988b
Update to ytdl-commit-78ce962
...
[youtube] Support channel search
78ce962f4f
2022-02-03 22:23:24 +05:30
pukkandan
48416bc4a8
[youtube] Fix n-sig for player e06dea74
2022-02-01 08:10:41 +05:30
pukkandan
b69fd25c25
[cleanup] Misc cleanup
...
Closes #1942 #1976 #2020 #2058 #1984
2021-12-23 07:12:46 +05:30
pukkandan
57dbe8077f
[jsinterp] Fix splice to handle float
...
Needed for new youtube js player f1ca6900
Closes #1767
2021-11-23 20:34:34 +05:30
pukkandan
9222c38182
[cleanup] Minor cleanup
...
Closes #1696 , Closes #1673
2021-11-19 05:36:28 +05:30
pukkandan
a1fc7ca074
[jsinterp] Handle default in switch better
2021-11-03 16:35:08 +05:30
pukkandan
404f611f1c
[youtube] Fix throttling by decrypting n-sig ( #1437 )
2021-10-31 09:53:58 +05:30
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
2021-07-23 20:18:15 +05:30
felix
cc52de4356
[cleanup] Point all shebang to python3
( #372 )
...
Authored by: fstirlitz
2021-06-06 00:59:04 +05:30
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
2021-02-25 00:15:56 +05:30
pukkandan
cc2db87805
Update to ytdl-2021.02.10
...
Except: [archiveorg] Fix and improve extraction (5fc53690cbe6abb11941a3f4846b566a7472753e)
2021-02-11 03:03:39 +05:30
pukkandan
545cc85d11
[youtube] Update to ytdl-2021.02.04.1
2021-02-04 20:07:17 +05:30
Unknown
cefecac12c
[skip travis] renaming
...
to avoid using same folder when using pip install for example
2020-09-02 20:25:25 +02:00
Sergey M․
e40c758c2a
[youtube] Improve player id extraction and add tests
2020-05-02 07:18:08 +07:00
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
2016-11-17 19:45:42 +08:00
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 .
2015-02-18 10:47:42 +01:00
Philipp Hagemeister
6a78740211
[test/test_youtube_signature] Use fake YDL
2015-02-10 05:28:59 +01:00
Michael Käufl
498942f187
[test_youtube_signature] Fix import
...
Broken in commit 8c25f81bee
2014-11-12 15:23:55 +01:00
Philipp Hagemeister
6be451f422
[youtube] Remove swf signature test cases
...
These files are now 0 Bytes
2014-09-29 05:24:00 +02:00
Philipp Hagemeister
4bc7009e8a
[jsinterp] Add new testcase
2014-07-25 07:00:54 +02:00
Philipp Hagemeister
42f4dcfe41
[test_youtube_signatures] Modernize
2014-07-24 11:39:54 +02:00
Jaime Marquínez Ferrándiz
ebe832dc37
[jsinterp] 'reverse' modifies the array in place ( fixes #3334 )
2014-07-24 11:08:31 +02:00
Philipp Hagemeister
9f43890bcd
[jsinterp] Allow digits in function names
2014-07-23 02:13:48 +02:00
Philipp Hagemeister
b6ea11b967
[youtube] Add swf signature test case ( #3270 )
2014-07-20 20:45:36 +02:00
Philipp Hagemeister
7fd48d0413
[youtube] Correct signature testcase
2014-07-20 18:30:27 +02:00
Philipp Hagemeister
5425626790
[youtube] Move swfinterp into its own file
2014-07-18 10:24:28 +02:00
Jaime Marquínez Ferrándiz
ad25aee245
[youtube & jsinterp] Fix signature extraction ( fixes #3255 )
...
Some functions are defined now inside an object, the jsinterp will search its definition if the variable is not defined in the local namespace.
2014-07-15 22:46:39 +02:00
Philipp Hagemeister
f64ebfe3e5
[youtube] Correct signature test
2014-07-11 10:46:11 +02:00