mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 04:02:32 +01:00
[downloader:ytdl] change 'forward-cookies' default to 'false'
There are currently no situations where forwarding gallery-dl's cookies to youtube-dl is necessary, and it only causes problems when forcing youtube-dl for Twitter video downloads while logged in.
This commit is contained in:
parent
09cc9dbec0
commit
dba87ca99e
@ -1402,7 +1402,7 @@ downloader.ytdl.forward-cookies
|
||||
-------------------------------
|
||||
=========== =====
|
||||
Type ``bool``
|
||||
Default ``true``
|
||||
Default ``false``
|
||||
Description Forward cookies to youtube-dl.
|
||||
=========== =====
|
||||
|
||||
|
@ -196,7 +196,7 @@
|
||||
"ytdl":
|
||||
{
|
||||
"format": null,
|
||||
"forward-cookies": true,
|
||||
"forward-cookies": false,
|
||||
"mtime": true,
|
||||
"outtmpl": null,
|
||||
"rate": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2018 Mike Fährmann
|
||||
# Copyright 2018-2020 Mike Fährmann
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -35,7 +35,7 @@ class YoutubeDLDownloader(DownloaderBase):
|
||||
|
||||
if self.config("logging", True):
|
||||
options["logger"] = self.log
|
||||
self.forward_cookies = self.config("forward-cookies", True)
|
||||
self.forward_cookies = self.config("forward-cookies", False)
|
||||
|
||||
outtmpl = self.config("outtmpl")
|
||||
self.outtmpl = DEFAULT_OUTTMPL if outtmpl == "default" else outtmpl
|
||||
|
Loading…
Reference in New Issue
Block a user