1
0
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:
Mike Fährmann 2020-05-12 20:13:04 +02:00
parent 09cc9dbec0
commit dba87ca99e
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@ -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