Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image downloader #121

Closed
lk-geimfari opened this issue Jan 30, 2017 · 1 comment
Closed

Add image downloader #121

lk-geimfari opened this issue Jan 30, 2017 · 1 comment
Labels
help wanted Nee help

Comments

@lk-geimfari
Copy link
Owner

lk-geimfari commented Jan 30, 2017

If we want to save avatars on our local machine, then we should have that opportunity.

It will looks like:

>>> from elizabeth import Personal
>>> from elizabeth.utils import download_image

>>> p = Personal('en')
>>> avatar_url = p.avatar()
>>> avatar = download_image(avatar_url, save_path)
@lk-geimfari
Copy link
Owner Author

It's done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Nee help
Projects
None yet
Development

No branches or pull requests

1 participant