mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-11 08:24:11 -05:00
Cookies & oAuth Error #386
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hextor1 on GitHub (Aug 8, 2024).
cookies.json:
{
"youtube_oauth": [
"access_token=xxxxxx; refresh_token=xxxxx; scope=https://www.googleapis.com/auth/youtube-paid-content https://www.googleapis.com/auth/youtube; token_type=Bearer; expiry_date=2024-08-09T08:12:07.911Z"
]
}
.env
API_URL=https://api.mywebsitename.net/ API_PORT=9004 API_NAME=eu-nl COOKIE_PATH=/cookies.jsonError I am facing
{
"status": "error",
"text": "couldn't get this youtube video because it requires an account to view.
this limitation is done by google to seemingly stop scraping, affecting all 3rd party tools and even their own clients.
try again, but if issue persists, check the <a class="text-backdrop link" href="https://status.cobalt.tools/" target="_blank">status page or <a class="text-backdrop link" href="https://github.com/imputnet/cobalt" target="_blank">create an issue on github."
}
@KwiatekMiki commented on GitHub (Aug 8, 2024):
> [!] The token generated by this script is sensitive and you should not share it with anyone!you just shared a sensitive token.you should remove it from the comment out and remove the original versionwhile i was writing this wukko edited it
@wukko commented on GitHub (Aug 8, 2024):
immediately change the google account password and revoke all sessions, why did you ignore security warnings?
@wukko commented on GitHub (Aug 8, 2024):
do not EVER post contents of your cookies file ANYWHERE
@hextor1 commented on GitHub (Aug 8, 2024):
bro please give me the solution now I removed my cookie
@dumbmoron commented on GitHub (Aug 8, 2024):
your cookies file is probably located elsewhere on the filesystem other than
/cookies.json@hextor1 commented on GitHub (Aug 8, 2024):
Please see here is my file location I cannot find anything I just created cookie.json file from my side its ubuntu server. i am using without dockerr and just git clone cobalt zip
@hextor1 commented on GitHub (Aug 8, 2024):
Please see I am facing an error when testing an API in local server because of youtube oauth so please guide me about my cookie

@hextor1 commented on GitHub (Aug 8, 2024):
I have tried with docker as well, I'm getting same error
@dumbmoron commented on GitHub (Aug 8, 2024):
@hextor1 commented on GitHub (Aug 8, 2024):
Getting same error when uncomment the volumes and next line
@hextor1 commented on GitHub (Aug 8, 2024):
Same error @dumbmoron
@hextor1 commented on GitHub (Aug 8, 2024):
Refresh your page my screenshot is showing
@hextor1 commented on GitHub (Aug 8, 2024):
@wukko Hi bro i am delte my previous issue please check it here