Add: support using cookies
This commit is contained in:
parent
52ed4f40bb
commit
561793286c
1 changed files with 1 additions and 0 deletions
|
@ -863,6 +863,7 @@ ytdl_format_options = {
|
|||
"default_search": "auto",
|
||||
# "source_address": "0.0.0.0", # Bind to ipv4 since ipv6 addresses cause issues
|
||||
"extract_flat": True, # massive speedup for fetching metadata, at the cost of no upload date
|
||||
"cookiefile": "cookies.txt",
|
||||
}
|
||||
username = getenv("YOUTUBE_USERNAME")
|
||||
password = getenv("YOUTUBE_PASSWORD")
|
||||
|
|
Loading…
Reference in a new issue