[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.
pull/754/head
Mike Fährmann 4 years ago
parent 09cc9dbec0
commit dba87ca99e
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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…
Cancel
Save