I need to download a file from a private GitLab.
I already saw this post: Download from a GitLab private repository
But I cannot use the API, since I dont have the needed IDs to download the files. In fact, I need to download them by theirs HTTP raw urls, like:
http://gitlab.private.com/group/repo_name/raw/master/diagrams/test.plantuml
Since I turned on authentication, every time I try to access something programatically, I am redirected to login page. I wrote a Python script to mimic the login process, obtain the authenticity_token and the _gitlab_session cookie, but still not working.
If I grab a session cookie from my Chrome browser after a successful login, everything works like a charm (from the file download perspective) on Python and even curl.
So, any help is apreciated to obtain this cookie, os a different approach. To use the API I would first need to struggle among all repos performing strings matches so I can find the proper IDs. This is the last option.
Tks Marco