Skip to content

Commit ac4b875

Browse files
fixed youtube downloader to include cookies.txt
1 parent cf11dc4 commit ac4b875

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cookies.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Replace with your cookies from https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc

youtube_downloader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
'preferredquality': '192', # Set audio quality to 192 kbps
1414
}],
1515
'n_threads': 8, # Number of threads to use for downloading
16+
'cookiefile': 'cookies.txt' # Path to cookies file
1617
}
1718

1819
# Asynchronous function to download audio from a given URL

0 commit comments

Comments
 (0)