Spaces:
Sleeping
Sleeping
Update ToolSet.py
Browse files- ToolSet.py +0 -2
ToolSet.py
CHANGED
@@ -264,7 +264,6 @@ class YouTubeFrameExtractor:
|
|
264 |
|
265 |
def download_video(self, url: str) -> str:
|
266 |
ydl_opts = {
|
267 |
-
"cookiefile": "cookies.txt",
|
268 |
'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4',
|
269 |
'outtmpl': '%(id)s.%(ext)s',
|
270 |
}
|
@@ -335,7 +334,6 @@ class YouTubeTranscriber:
|
|
335 |
Download only the audio from a YouTube URL and return the local filename.
|
336 |
"""
|
337 |
ydl_opts = {
|
338 |
-
"cookiefile": "cookies.txt",
|
339 |
"format": "bestaudio/best", # best available audio :contentReference[oaicite:3]{index=3}
|
340 |
"postprocessors": [{
|
341 |
"key": "FFmpegExtractAudio", # extract with FFmpeg :contentReference[oaicite:4]{index=4}
|
|
|
264 |
|
265 |
def download_video(self, url: str) -> str:
|
266 |
ydl_opts = {
|
|
|
267 |
'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4',
|
268 |
'outtmpl': '%(id)s.%(ext)s',
|
269 |
}
|
|
|
334 |
Download only the audio from a YouTube URL and return the local filename.
|
335 |
"""
|
336 |
ydl_opts = {
|
|
|
337 |
"format": "bestaudio/best", # best available audio :contentReference[oaicite:3]{index=3}
|
338 |
"postprocessors": [{
|
339 |
"key": "FFmpegExtractAudio", # extract with FFmpeg :contentReference[oaicite:4]{index=4}
|