Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When youtube-dl runs multiple instances, cookies are overwritten #22613

Closed
bidaian opened this issue Oct 5, 2019 · 1 comment
Closed

When youtube-dl runs multiple instances, cookies are overwritten #22613

bidaian opened this issue Oct 5, 2019 · 1 comment

Comments

@bidaian
Copy link

@bidaian bidaian commented Oct 5, 2019

Checklist

  • I've verified that I'm running youtube-dl version 2019.09.28
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.28
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-8-amd64-x86_64-with-debian-9
[debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1, rtmpdump 2.4
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]

Description

If I run more than one simultaneous youtube-dl instance on different sites, with a cookie jar (--cookie), the jars are overwritten each time. The result is that you keep just the cookies from the last write.

That is expected according to the Python documentation on cookiejar but it does not allow for multiple simultaneous downloads from different sites, if cookies are involved.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 5, 2019

Single cookie file is not supposed to be shared across simultaneous youtube-dl instances in the first place.

@dstftw dstftw closed this Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.