This commit is contained in:
edbrz9 2022-12-29 13:45:51 +01:00
parent e54480ff4d
commit 0303382528
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
import youtube_dl import youtube_dl
import sys import sys
import os
with open ("hello.txt", 'w') as file:
file.write("hello file")
url = sys.argv[1] url = sys.argv[1]
lang = sys.argv[2] lang = sys.argv[2]
@ -14,7 +18,7 @@ ydl_opts = {
'lkjsdlfkjsdf': 'sdflkj', 'lkjsdlfkjsdf': 'sdflkj',
'outtmpl': '%(id)s', 'outtmpl': '%(id)s',
'skip_download': True, 'skip_download': True,
'writethumbnail': True, 'writethumbnail': False,
'quiet': True 'quiet': True
} }