mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-24 09:55:12 +00:00
feat(dl): add --latest-episodes N to download the N newest episodes
Split episodes count once. Exposed as latest_episodes on the REST API. Closes #159.
This commit is contained in:
@@ -591,6 +591,7 @@ def perform_download(
|
||||
select_titles=False,
|
||||
wanted=params.get("wanted", []),
|
||||
latest_episode=params.get("latest_episode", False),
|
||||
latest_episodes=params.get("latest_episodes"),
|
||||
lang=ctx.params["lang"],
|
||||
v_lang=ctx.params["v_lang"],
|
||||
a_lang=ctx.params["a_lang"],
|
||||
|
||||
Reference in New Issue
Block a user