Commit graph

18 commits

Author SHA1 Message Date
Jesse Bannon
57fd6901e4
[DEV] Linter: Use ruff over black and isort (#1445)
Will eventually replace pylint with ruff
2026-03-09 11:39:01 -07:00
Jesse Bannon
f62b47888f
[FEATURE] Ability to modify webpage_url (#1356)
Closes https://github.com/jmbannon/ytdl-sub/issues/1353

Provides a way to modify webpage_url before actual entry downloads. 
Use-case: remove `#__youtubedl_smuggle` parameter in the URL
2025-10-11 17:21:13 -07:00
Jesse Bannon
e92b1cd12a
[BACKEND][HUGE] Function Support in variable syntax (#838)
A complete gutting of the internals of ytdl-sub to support functions in our variable syntax, in addition to being able to access a yt-dlp entry's .info.json fields using functions. Functionally, ytdl-sub should still look and behave the same from a user-perspective.

With so many lines of code changed (+8927, -2708), no doubt there will be new issues. Please make a GH issue or reach out on Discord if your config/subscriptions break in any way/shape/form.

Details on how to use function support will come soon in the form of proper documentation in our readthedocs.
2023-12-18 16:08:15 -08:00
Jesse Bannon
553862fdad
[FEATURE] Add day_of_year variables (#195) 2022-08-24 09:59:34 -07:00
Jesse Bannon
9b224b7fc6
[FEATURE] Add reversed date variables (#192) 2022-08-23 22:32:41 -07:00
jbannon
1243832178 more unit tests 2022-04-12 04:47:54 +00:00
jbannon
4c01198ce9 update unit tests 2022-04-12 04:23:52 +00:00
jbannon
b17d773248 fix unit tests 2022-04-12 04:07:31 +00:00
jbannon
2b9ab7c3af update black line-len to 100 2022-04-06 07:30:35 +00:00
jbannon
05737d2b19 remove formatting logic out of entry 2022-04-06 07:28:38 +00:00
jbannon
cbe73adbf7 better recursion functionality 2022-04-06 07:16:07 +00:00
jbannon
5fed8a7b64 recursive var names 2022-04-06 06:41:29 +00:00
jbannon
451b3564c5 return string formatters in overrides dict 2022-04-06 06:09:16 +00:00
jbannon
836e186ab1 fix unit tests 2022-04-05 00:28:52 +00:00
jbannon
922ac3b7cf protected variables for easier debugging 2022-04-05 00:26:45 +00:00
jbannon
64eb1e83ab isort 2022-03-30 18:22:51 +00:00
jbannon
585a432bc9 more formatter tests, begin soundcloud unit tests 2022-03-30 18:13:44 +00:00
jbannon
e1d60ab6e9 entry 100% test coverage 2022-03-30 16:48:04 +00:00