[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:
Mike Fährmann
2020-05-12 20:13:04 +02:00
parent 09cc9dbec0
commit dba87ca99e
3 changed files with 4 additions and 4 deletions

View File

@@ -1402,7 +1402,7 @@ downloader.ytdl.forward-cookies
------------------------------- -------------------------------
=========== ===== =========== =====
Type ``bool`` Type ``bool``
Default ``true`` Default ``false``
Description Forward cookies to youtube-dl. Description Forward cookies to youtube-dl.
=========== ===== =========== =====

View File

@@ -196,7 +196,7 @@
"ytdl": "ytdl":
{ {
"format": null, "format": null,
"forward-cookies": true, "forward-cookies": false,
"mtime": true, "mtime": true,
"outtmpl": null, "outtmpl": null,
"rate": null, "rate": null,

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- 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 # 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 # 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): if self.config("logging", True):
options["logger"] = self.log options["logger"] = self.log
self.forward_cookies = self.config("forward-cookies", True) self.forward_cookies = self.config("forward-cookies", False)
outtmpl = self.config("outtmpl") outtmpl = self.config("outtmpl")
self.outtmpl = DEFAULT_OUTTMPL if outtmpl == "default" else outtmpl self.outtmpl = DEFAULT_OUTTMPL if outtmpl == "default" else outtmpl