Closed dragontamer8740 closed 1 year ago
wouldn't your-auth-cookie-string
change after your login session expires? im not sure when it would expire either, maybe this solution is fine
I'd add or use user and pass in ~/.gallery-dl
to just follow and borrow from their schema and config if we need to grab that info to login. gallery-dl is great, last I checked they don't cover as many imgur urls for dl tho
where can I find the value for authautologin
https://github.com/RipMeApp/ripme/issues/1459 https://gist.github.com/dvdsgl/743e8821f1566948068e966e32adc224
you can get it from their api, but whats required to use their api? I have my own client id and secret
I will look around. I can't remember right now; haven't used the API in a long time but I also have an app registered for it.
You might just tell the user to register it themselves?
It looks like imgur now allows you to see adult content just by clicking a button... no login needed.
I ran across some images that forced you to need to login, there was no button to view it otherwise. Might be region-specific?
gallery-dl supports downloading from the variety of links this project supports. I'm going to archive this repo.
Check for support for this there or report an issue there.
Imgur now requires that a user be logged in to view albums that have been flagged/marked as adult/mature.
imgurdl should have a means to provide authentication information. I've made a bad hack to do this, but it's not a good solution for a pull request.
All changes are to
imgur_downloader/imgurdownloader.py
:import requests
to imports at top. This way we can use requests with cookie headers easily.For my ugly fix I replaced the following:
…with
Remove the line:
and in its place put:
If anyone is to implement this properly, I'd probably either have a command line argument/config file to pull the auth cookie from, or else properly log in to imgur via username/password prompt.