aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_youtube_signature.py
Commit message (Collapse)AuthorAgeFilesLines
* [jsinterp] Support `if` statementspukkandan2023-02-011-0/+4
| | | | Closes #6131
* [jsinterp] Improve separating regexpukkandan2022-10-111-0/+4
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
* [jsinterp] Workaround operator associativity issuepukkandan2022-09-021-0/+4
| | | | https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
* [jsinterp] Fix escape in regexpukkandan2022-09-011-0/+4
|
* [jsinterp] Fix `_separate`pukkandan2022-08-301-0/+4
| | | | Ref: https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1231126941
* [jsinterp] Fix bug in operator precedencepukkandan2022-08-251-0/+4
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1226659543
* [test] Fix test_youtube_signaturepukkandan2022-08-211-0/+4
|
* [jsinterp] Fix for youtube player 1f7d5369pukkandan2022-08-181-0/+4
| | | | Closes #4635 again
* [jsinterp] Fix for youtube player c81bbb4apukkandan2022-08-161-0/+4
|
* [jsinterp] Bring or-par with youtube-dlpukkandan2022-08-151-0/+1
| | | | | | Partially cherry-picked from: https://github.com/ytdl-org/youtube-dl/commit/d231b56717c73ee597d2e077d11b69ed48a1b02d Authored by pukkandan, dirkf
* [jsinterp] Handle new youtube signature functionspukkandan2022-08-141-0/+8
| | | | Closes #4635
* [compat] Remove deprecated functions from core codepukkandan2022-06-251-2/+1
|
* [cleanup] Consistent style for file headspukkandan2022-06-251-2/+4
|
* [cleanup] Misc cleanup and refactor (#2173)pukkandan2022-04-181-3/+2
|
* [cleanup] Sort importspukkandan2022-04-121-2/+3
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-5/+1
| | | | | | | | | | 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
* [cleanup] Mark some compat variables for removal (#2173)pukkandan2022-04-121-2/+3
| | | | Authored by fstirlitz, pukkandan
* [youtube] Fix n-sig extraction for phone player JS (#2816)MinePlayersPE2022-02-181-0/+4
| | | Authored by: MinePlayersPE
* Update to ytdl-commit-78ce962pukkandan2022-02-031-1/+8
| | | | | [youtube] Support channel search https://github.com/ytdl-org/youtube-dl/commit/78ce962f4fe020994c216dd2671546fbe58a5c67
* [youtube] Fix n-sig for player e06dea74pukkandan2022-02-011-0/+4
|
* [cleanup] Misc cleanuppukkandan2021-12-231-0/+4
| | | | Closes #1942 #1976 #2020 #2058 #1984
* [jsinterp] Fix splice to handle floatpukkandan2021-11-231-0/+4
| | | | | Needed for new youtube js player f1ca6900 Closes #1767
* [cleanup] Minor cleanuppukkandan2021-11-191-0/+4
| | | | Closes #1696, Closes #1673
* [jsinterp] Handle default in switch betterpukkandan2021-11-031-1/+5
|
* [youtube] Fix throttling by decrypting n-sig (#1437)pukkandan2021-10-311-24/+46
|
* [test] Use `pytest` instead of `nosetests` (#482)pukkandan2021-07-231-1/+3
| | | | `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
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-2/+2
| | | | | | | | | * 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
* Update to ytdl-2021.02.10pukkandan2021-02-111-21/+10
| | | | Except: [archiveorg] Fix and improve extraction (5fc53690cbe6abb11941a3f4846b566a7472753e)
* [youtube] Update to ytdl-2021.02.04.1pukkandan2021-02-041-5/+1
|
* [skip travis] renamingUnknown2020-09-021-2/+2
| | | to avoid using same folder when using pip install for example
* [youtube] Improve player id extraction and add testsSergey M․2020-05-021-0/+22
|
* Update coding style after pycodestyle 2.1.0Yen Chi Hsuan2016-11-171-0/+1
| | | | | | | | | | 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
* [jsinterp] Disable comment supportPhilipp Hagemeister2015-02-181-0/+6
| | | | | | | | 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.
* [test/test_youtube_signature] Use fake YDLPhilipp Hagemeister2015-02-101-2/+3
|
* [test_youtube_signature] Fix importMichael Käufl2014-11-121-1/+1
| | | | Broken in commit 8c25f81beea169c9d6540eea1a6f71dc045da6ed
* [youtube] Remove swf signature test casesPhilipp Hagemeister2014-09-291-12/+0
| | | | These files are now 0 Bytes
* [jsinterp] Add new testcasePhilipp Hagemeister2014-07-251-1/+7
|
* [test_youtube_signatures] ModernizePhilipp Hagemeister2014-07-241-29/+31
|
* [jsinterp] 'reverse' modifies the array in place (fixes #3334)Jaime Marquínez Ferrándiz2014-07-241-1/+7
|
* [jsinterp] Allow digits in function namesPhilipp Hagemeister2014-07-231-0/+6
|
* [youtube] Add swf signature test case (#3270)Philipp Hagemeister2014-07-201-0/+6
|
* [youtube] Correct signature testcasePhilipp Hagemeister2014-07-201-1/+1
|
* [youtube] Move swfinterp into its own filePhilipp Hagemeister2014-07-181-3/+9
|
* [youtube & jsinterp] Fix signature extraction (fixes #3255)Jaime Marquínez Ferrándiz2014-07-151-0/+6
| | | | Some functions are defined now inside an object, the jsinterp will search its definition if the variable is not defined in the local namespace.
* [youtube] Correct signature testPhilipp Hagemeister2014-07-111-2/+2
|
* [youtube] Add test for new signature scheme (#3232)Philipp Hagemeister2014-07-111-2/+10
|
* [test/youtube_signature] Add a test with the last playerJaime Marquínez Ferrándiz2014-02-041-0/+6
| | | | To verify it correctly handles function with “$” in their names.
* Remove youtube swf signature testPhilipp Hagemeister2014-01-171-6/+0
| | | | Apparently, swf players are no longer in use. If we find one, we'll readd it.
* [tests] Remove global_setup functionPhilipp Hagemeister2013-11-251-3/+0
|