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

feat(watch): persist cookies #103

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Darkness4
Copy link
Owner

@Darkness4 Darkness4 commented Feb 23, 2025

Closes #93.

Associated docker image: ghcr.io/darkness4/fc2-live-dl-go:persist-cookie.

Profiling for 1w.

## Path to import a cookies file. Format is a netscape cookies file.
## If not set, cookies won't be loaded.
cookiesImportFile: ''
## Refresh cookies by trying to re-login to FC2. "Keep me logged in" must be
## enabled and id.fc2.com cookies must be present.
cookiesRefreshDuration: '24h'
## Path to a file to persist the cookies (default: '', doesn't cache)
## Example: ./data/cookies.db
cookiesFile: ''

defaultParams:
  # ...
  ## [DEPRECATED] Please use top-level cookiesImportFile instead. This parameters only works
  ## in defaultParams is not overridable by channelParams.cookiesFile.
  ## For reverse compatibility reasons, this parameter takes precedence.
  ##
  ## Path to a cookies file. Format is a netscape cookies file.
  # cookiesFile: ''
  ## [DEPRECATED] Please use top-level cookiesRefreshDuration instead. This parameters only works
  ## in defaultParams is not overridable by channelParams.cookiesRefreshDuration.
  ## For reverse compatibility reasons, this parameter takes precedence.
  ##
  ## Refresh cookies by trying to re-login to FC2. "Keep me logged in" must be
  ## enabled and id.fc2.com cookies must be present.
  # cookiesRefreshDuration: '24h'

@Darkness4 Darkness4 self-assigned this Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Persist refreshed cookies.
1 participant