Rehman1603 commited on
Commit
fefaea3
·
verified ·
1 Parent(s): 54edeac

Update Download_Video.py

Browse files
Files changed (1) hide show
  1. Download_Video.py +1 -1
Download_Video.py CHANGED
@@ -10,7 +10,7 @@ def download_video(url, download_dir=None, browser_name='chrome'):
10
  'outtmpl': os.path.join(download_dir, '%(title)s.%(ext)s') if download_dir else '%(title)s.%(ext)s',
11
  'quiet': True, # Suppress output (set to False for debugging)
12
  }
13
-
14
  # Extract cookies from the browser
15
  if browser_name == 'chrome':
16
  cookies = browser_cookie3.chrome(domain_name='youtube.com')
 
10
  'outtmpl': os.path.join(download_dir, '%(title)s.%(ext)s') if download_dir else '%(title)s.%(ext)s',
11
  'quiet': True, # Suppress output (set to False for debugging)
12
  }
13
+ cookies_file = None
14
  # Extract cookies from the browser
15
  if browser_name == 'chrome':
16
  cookies = browser_cookie3.chrome(domain_name='youtube.com')