mikf / gallery-dl

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

Reddit Post Processors #5777

Closed timeg7100 closed 6 days ago

timeg7100 commented 6 days ago

Hi i want a way to download files from reddit but if there is an embedded URL it put it in a .txt file for Ex: https://www.reddit.com/r/minus8/comments/7xcga5/someone_elses_original_character_drawn_by_minus/

this one have an embedded URL: https://imgur.com/a/CeJab and this one i want to be in a .txt file


"postprocessors": [
                {
                    "name": "metadata",
                    "event": "post",
                    "filename": "{id} {title}.txt",

                    "mode": "custom",
                    "format": "{url_overridden_by_dest}",

                }
            ],

this one that i have but it does not create the .txt file

and give me this error

[imgur][error] HttpError: '404 Not Found' for 'https://api.imgur.com/post/v1/albums/CeJab include=media%2Ctags%2Caccount'
timeg7100 commented 6 days ago

solved it