Skip to content

Commit d078d8d

Browse files
authored
fix: docs + config passing (#563)
1 parent e4dec65 commit d078d8d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ scdl me -f
5252
--version Show version
5353
-l [url] URL can be track/playlist/user
5454
-s [search_query] Search for a track/playlist/user and use the first result
55-
-n [maxtracks] Download the n last tracks of a playlist according to the creation date
5655
-a Download all tracks of user (including reposts)
5756
-t Download all uploads of a user (no reposts)
5857
-f Download all favorites (likes) of a user

scdl/scdl.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
--version Show version
2121
-l [url] URL can be track/playlist/user
2222
-s [search_query] Search for a track/playlist/user and use the first result
23-
-n [maxtracks] Download the n last tracks of a playlist according to the
24-
creation date
2523
-a Download all tracks of user (including reposts)
2624
-t Download all uploads of a user (no reposts)
2725
-f Download all favorites (likes) of a user
@@ -136,7 +134,6 @@ class SCDLArgs(TypedDict):
136134
max_size: str | None
137135
me: bool
138136
min_size: str | None
139-
n: str | None
140137
name_format: str
141138
no_album_tag: bool
142139
no_original: bool
@@ -258,6 +255,8 @@ def _main() -> None:
258255
key = key.strip("-").replace("-", "_")
259256
python_args[key] = value
260257

258+
python_args["client_id"] = client.client_id
259+
python_args["auth_token"] = client.auth_token
261260
url = python_args.pop("l")
262261

263262
assert url is not None

0 commit comments

Comments
 (0)