Skip to content

uplift for python 3? #1

@Pomax

Description

@Pomax

Heya,

I figured I'd give this code a try since it seems to be the only useful hit on google for a reddit image downloader, but python 3 can't run it due to some syntax errors that are easy enough to fix - with those fixes in, I'm getting an error about the fact that https://github.com/Damgaard/reddit_image_downloader/blob/master/reddit_image_downloader.py#L39 relies on an unknown module, so hopefully you remember where that came from, or at least what its purpose was (it feels like the current equivalent for it is environ, to read those IMGUR_CLIENT_ID and REDDIT_USERAGENT from the environment/.env file?). If so, I can do a bit more uplifting and then send a PR your way to make this work in a python 3 + pipenv way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions