swiftyy-mage
commited on
Formatting
Browse files- pytube/cli.py +3 -1
pytube/cli.py
CHANGED
@@ -226,7 +226,9 @@ def _download(
|
|
226 |
sys.stdout.write("\n")
|
227 |
|
228 |
|
229 |
-
def unique_name(
|
|
|
|
|
230 |
"""
|
231 |
Given a base name, the file format, and the target directory, will generate
|
232 |
a filename unique for that directory and file format.
|
|
|
226 |
sys.stdout.write("\n")
|
227 |
|
228 |
|
229 |
+
def unique_name(
|
230 |
+
base: str, subtype: Optional[str], video_audio: str, target: str
|
231 |
+
) -> str:
|
232 |
"""
|
233 |
Given a base name, the file format, and the target directory, will generate
|
234 |
a filename unique for that directory and file format.
|