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

[site request] imgur.com albums/images #2157

Closed
nodiscc opened this issue Jan 16, 2014 · 7 comments
Closed

[site request] imgur.com albums/images #2157

nodiscc opened this issue Jan 16, 2014 · 7 comments
Labels
site-support-request Add extractor(s) for a new domain

Comments

@nodiscc
Copy link

nodiscc commented Jan 16, 2014

Hi, thanks for your greaat work on youtube-dl. I use it daily and absolutely love it.

Would it be desirable to add support for http://imgur.com album downloads? There's a python script at https://github.com/alexgisby/imgur-album-downloader that does exactly this, I would like it to be added to youtube-dl (it already supports Flickr albums, so why not).

The other way to download imgur albums is to add /zip at the end of the album url (but it doesnt save bandwith as pngs/jpgs are already compressed formats, and draws the host's CPU resources, and you have to extract zipped files after download in order to view them).

Support for individual images (images that are not from an album) would be nice too. What do you think?

Thanks again

@phihag
Copy link
Contributor

phihag commented Jan 16, 2014

Can you name a specific example URL? youtube-dl also focuses on video or audio files, I doubt images transfer over well.

@OpenHMR
Copy link

OpenHMR commented Jan 16, 2014

Example URL: http://imgur.com/a/EgBYo

As nodiscc said, you can download this album zipped simply adding /zip to the original url (http://imgur.com/a/EgBYo/zip). You may prefer to use version 2 of the api and receive a xml/json with images urls (http://api.imgur.com/2/album/EgBYo/images http://api.imgur.com/2/album/EgBYo/images.json). Another alternative is to use the current version of the API (http://api.imgur.com/), but it requires to register your application.

@nodiscc
Copy link
Author

nodiscc commented Jan 20, 2014

Sorry for the delay, for some reason this didn't show up in my inbox.

youtube-dl also focuses on video or audio files, I doubt images transfer over well

It also happens to support some image hosting sites (flickr), so why not. If you think it's not appropriate, well ok.
Also, note there's an alternative URL for albums, eg http://imgur.com/gallery/EgBYo (/gallery/ instead of /a/) so it should be handled too.

@phihag
Copy link
Contributor

phihag commented Jan 20, 2014

The flickr extractor downloads a "photostream" video. I'm afraid that virtually all current functionality of youtube-dl would be unusable with photos only, and therefore the user experience would suffer (for example, recoding is senseless, and individual images don't have any titles).

Therefore, I regrettably close this issue. If there is an implementation, I'd certainly merge it in, but for now I'm leaving it as is. I'm not sure whether "download everything" is feasible as a project scope, but I'd certainly love to have it some time.

@phihag phihag closed this as completed Jan 20, 2014
@nodiscc
Copy link
Author

nodiscc commented Nov 26, 2014

@phihag Thanks for your reply, again, it didn't show up in my Github inbox. I agree with what you said. For what it's worth, I now use https://github.com/alexgisby/imgur-album-downloader when I need to download imgur albums.

@EvanCarroll
Copy link

I don't believe it's true that you can merely add /zip, for example.

https://imgur.com/r/HistoryPorn

How do I download that. It would be nice to feed that into youtube-dl

@Hrxn
Copy link

Hrxn commented Jul 7, 2018

Well, imgur.com/r/<xyz> is a special case, that is neither an album nor a single image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-support-request Add extractor(s) for a new domain
Projects
None yet
Development

No branches or pull requests

5 participants