mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.85k stars 975 forks source link

Site Support Request: Piwigo #260

Open hellocatfood opened 5 years ago

hellocatfood commented 5 years ago

Can support be added for Piwigo installations? https://piwigo.org/

People can sign up to a commercial version here https://piwigo.com/

Or self-host here: https://piwigo.org/

Stunkymonkey commented 5 years ago

@mikf does gallery-dl support downloading images from self hosted sites? like there does not have to be a regex matching to an url?

mikf commented 5 years ago

There is currently no generic extractor, like youtube-dl has for example, and all URLs must match some regex pattern to be accepted. But something like that should be a nice feature for v2.0.

The closest you can currently get to "generic" image extraction is the so-called recursive extractor: gallery-dl r:<URL>. It fetches the HTML page of the URL you give it and tries to find extractors for all href targets in it. This worked quite nice for its original use case: forum posts with multiple links to single-image hosting sites.