cookiecutter / cookiecutter/cookiecutter

How to Return cookie value from cookie_jar file as string

Open
#1,602 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
25.1k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Hi All

I have one file that name is cookie_jar file in that file there is a cookie value stored in it that i need return in it as string way i have written one command but dont know how to put in as a bash script or shell script. So that my script should return as a token values. Here is the code

cookie_value = "'cookie: PF='$PF'; p_lplcwmsk='$p_lplcwmsk'; BIGipServerNP_QA_QFLOGINQAS0_7011='$BIGipServerNP_QA_QFLOGINQAS0_7011'; aatoken='$aatoken'; UserName='$UserName'; Auth='$Auth'; XSRF-TOKEN='$XSRF-TOKEN'; z='$z'; BN20='$BN20'; UserFirmId='$UserFirmId'; TS01a1bccb='$TS01a1bccb'; TS01e14722='$TS01e14722';"

echo cookie_value

please tell me how to write in script so that it can return string from cookie jar file as cookie value i want it that only from script

Contributor guide

Open the contributing guide

Research direction

The report mentions a cookie_jar file and a proposed bash or shell script, but names no cookiecutter file, test, or entry point. First verify whether the request concerns cookiecutter's CLI at all; a suitable documentation change would need a project-specific usage scope and a clear example of the expected cookie value output.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.