Originally created by @shengchenyang on GitHub (Feb 22, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1124
### problem description
I can use the bad reputation IP to get the download link normally with cookies.
But I get a 0 byte file when I download it.
It seems that the cookie does not take effect when downloading?
cookies.json example:
```
{
"youtube": ["key1=value;key2=value2"]
}
```
### your instance configuration
```shell
services:
cobalt-api:
image: ghcr.io/imputnet/cobalt:10.7.5
init: true
read_only: true
restart: unless-stopped
container_name: cobalt-api
ports:
- 9000:9000/tcp
environment:
API_URL: "http://127.0.0.1:9000/"
COOKIE_PATH: "/cookies.json"
API_EXTERNAL_PROXY: "http://127.0.0.1:7897"
labels:
- com.centurylinklabs.watchtower.scope=cobalt
volumes:
- ./cookies.json:/cookies.json
watchtower:
image: ghcr.io/containrrr/watchtower
restart: unless-stopped
command: --cleanup --scope cobalt --interval 900 --include-restarting
volumes:
- /var/run/docker.sock:/var/run/docker.sock
```
How you find cookies? and do not use both cookies and api external proxies use only cookies. then check ? @shengchenyang
<!-- gh-comment-id:2676762385 -->
@hextor1 commented on GitHub (Feb 23, 2025):
How you find cookies? and do not use both cookies and api external proxies use only cookies. then check ? @shengchenyang
Please can you tell me how to find cookies in personal account? @dumbmoron
<!-- gh-comment-id:2676764598 -->
@hextor1 commented on GitHub (Feb 23, 2025):
> this should be resolved by [187b1f8](https://github.com/imputnet/cobalt/commit/187b1f8f0593f3436d5533a60ee0fa23538174aa)
Please can you tell me how to find cookies in personal account? @dumbmoron
<!-- gh-comment-id:2677861432 -->
@hextor1 commented on GitHub (Feb 24, 2025):
> this should be resolved by [187b1f8](https://github.com/imputnet/cobalt/commit/187b1f8f0593f3436d5533a60ee0fa23538174aa)
Its still getting 0 byte file downlaod
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @shengchenyang on GitHub (Feb 22, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1124
problem description
I can use the bad reputation IP to get the download link normally with cookies.
But I get a 0 byte file when I download it.
It seems that the cookie does not take effect when downloading?
cookies.json example:
your instance configuration
@hextor1 commented on GitHub (Feb 23, 2025):
How you find cookies? and do not use both cookies and api external proxies use only cookies. then check ? @shengchenyang
@dumbmoron commented on GitHub (Feb 23, 2025):
this should be resolved by
187b1f8f05@hextor1 commented on GitHub (Feb 23, 2025):
Please can you tell me how to find cookies in personal account? @dumbmoron
@hextor1 commented on GitHub (Feb 24, 2025):
Its still getting 0 byte file downlaod