{"id":16557659,"url":"https://github.com/patrickkfkan/imagefap-dl","last_synced_at":"2025-04-10T05:10:28.473Z","repository":{"id":212990528,"uuid":"732398939","full_name":"patrickkfkan/imagefap-dl","owner":"patrickkfkan","description":"ImageFap gallery downloader","archived":false,"fork":false,"pushed_at":"2025-03-01T10:49:42.000Z","size":338,"stargazers_count":36,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T23:58:52.634Z","etag":null,"topics":["downloader","imagefap","scraper"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickkfkan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"patrickkfkan"}},"created_at":"2023-12-16T14:48:48.000Z","updated_at":"2025-03-01T10:49:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"3291b61a-f084-40be-83cd-540e497426a6","html_url":"https://github.com/patrickkfkan/imagefap-dl","commit_stats":null,"previous_names":["patrickkfkan/imagefap-dl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickkfkan%2Fimagefap-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickkfkan%2Fimagefap-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickkfkan%2Fimagefap-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickkfkan%2Fimagefap-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickkfkan","download_url":"https://codeload.github.com/patrickkfkan/imagefap-dl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161274,"owners_count":21057555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["downloader","imagefap","scraper"],"created_at":"2024-10-11T20:08:10.329Z","updated_at":"2025-04-10T05:10:28.445Z","avatar_url":"https://github.com/patrickkfkan.png","language":"TypeScript","funding_links":["https://ko-fi.com/patrickkfkan","https://ko-fi.com/C0C5RGOOP'"],"categories":[],"sub_categories":[],"readme":"\u003ca href='https://ko-fi.com/C0C5RGOOP' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi2.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\n# imagefap-dl\n\nAn ImageFap gallery downloader written in [Node.js](https://nodejs.org).\n\n## Installation\n\nFirst, install [Node.js](https://nodejs.org/en).\n\nThen, in a terminal, run the following command:\n\n```\nnpm i -g imagefap-dl\n```\n\n## Usage\n\nIn a terminal:\n```\n// Download all galleries uploaded by johndoe to the current directory\n$ imagefap-dl \"https://www.imagefap.com/profile/johndoe/galleries\"\n\n// Download a single gallery to \"C:\\Downloads\"\n$ imagefap-dl -o \"C:\\Downloads\" \"https://www.imagefap.com/gallery/1234567\"\n\n// Download from the list of URLs contained in file \"urls.txt\"\n$ imagefap-dl urls.txt\n\n// urls.txt\n------------------------------------------------------\nhttps://www.imagefap.com/profile/johndoe/galleries\nhttps://www.imagefap.com/gallery/1234567\n\n# Lines starting with # are ignored\n# https://www.imagefap.com/gallery/9876543 --\u003e Ignored\n```\n\n\u003e URLs can be copy-and-pasted from the ImageFap website. Make sure they conform to one of the formats listed in the usage guide (below).\n\nTo display usage guide:\n```\n$ imagefap-dl -h\n```\nOutput:\n```\nUsage\n\n  imagefap-dl [OPTION]... TARGET \n\nTARGET\n\n  Target can be a URL or a file containing a list of URLs to download from.     \n                                                                                \n  Supported URL formats                                                         \n  ---------------------                                                         \n\n  Download all galleries by a user:                                             \n  - https://www.imagefap.com/profile/\u003cusername\u003e/galleries                       \n                                                                                \n  Download all galleries in a folder:                                           \n  - https://www.imagefap.com/profile/\u003cusername\u003e/galleries?folderid=\u003cfolder-id\u003e  \n  - https://www.imagefap.com/organizer/\u003cfolder-id\u003e/\u003cfolder-slug\u003e                \n  - https://www.imagefap.com/usergallery.php?userid=\u003cuser-id\u003e\u0026folderid=\u003cfolder-id\u003e\n                                                                                \n  Download a single gallery:                                                    \n  - https://www.imagefap.com/gallery/\u003cgallery-id\u003e                               \n  - https://www.imagefap.com/gallery.php?gid=\u003cgallery-id\u003e                       \n  - https://www.imagefap.com/pictures/\u003cgallery-id\u003e/\u003cgallery-slug\u003e               \n\n  Download all user favorites:                                                  \n  - https://www.imagefap.com/showfavorites.php?userid=\u003cuser-id\u003e                 \n                                                                                \n  Download user favorites by folder:                                            \n  - https://www.imagefap.com/showfavorites.php?userid=\u003cuser-id\u003e\u0026folderid=\u003cfolder-id\u003e \n                                                                                \n  File                                                                          \n  ----                                                                          \n                                                                                \n  Files must be in plain text format with each URL placed in its own line.      \n  Lines starting with # are ignored.                                            \n\nOptions\n\n  -h, --help                            Display this usage guide                \n  -o, --out-dir \u003cdir\u003e                   Path to directory where content is      \n                                        saved. Default: current working         \n                                        directory                               \n  -d, --dir-structure \u003cflags\u003e           Combination of flags controlling the    \n                                        output directory structure of           \n                                        downloaded galleries. See \"Directory    \n                                        structure flags\" section for available  \n                                        flags.                                  \n  -n, --seq-filenames                   Add sequential numbers to beginning of  \n                                        filenames based on display order of     \n                                        images.\n  -f, --full-filenames                  Use full filename for image downloads.  \n                                        If not specified, filenames may be      \n                                        truncated. Note: getting full filenames \n                                        involves extra page requests that will  \n                                        increase download time.                 \n  -w, --overwrite                       Overwrite existing image files          \n  -j, --no-json                         Do not save gallery info in JSON file   \n  -m, --no-html                         Do not save original HTML               \n  -l, --log-level \u003clevel\u003e               Log level: 'info', 'debug', 'warn' or   \n                                        'error'; set to 'none' to disable       \n                                        logging. Default: info                  \n  -s, --log-file \u003cpath\u003e                 Save logs to \u003cpath\u003e                     \n  -r, --max-retries \u003cnumber\u003e            Maximum retry attempts when a download  \n                                        fails. Default: 3                       \n  -c, --max-concurrent \u003cnumber\u003e         Maximum number of concurrent image      \n                                        downloads. Default: 10                  \n  -p, --min-time-page \u003cmilliseconds\u003e    Minimum time to wait between page fetch \n                                        requests. As a general rule, do not     \n                                        set this lower than 2000, otherwise you \n                                        will likely get 'Too many requests'     \n                                        errors. Default: 2000                   \n  -i, --min-time-image \u003cmilliseconds\u003e   Minimum time to wait between image      \n                                        download requests. Default: 200     \n  --proxy \u003cURI\u003e                         Use the specified proxy. The URI        \n                                        follows this scheme:                    \n                                        \"protocol://[username:[password]]@host:port\". \n                                        Protocol can be http, https, socks4 or  \n                                        socks5.                                 \n  --proxy-insecure                      Do not reject invalid certificate when  \n                                        connecting to proxy through SSL / TLS.  \n                                        Use this option for proxies with self-  \n                                        signed certs.          \n  -y, --no-prompt                       Do not prompt for confirmation to       \n                                        proceed                                 \n\nDirectory structure flags (--dir-structure)\n\n  When downloading a gallery, the following flags specify which directory is to \n  be included in the output directory structure:                                \n\n  u   If downloading user favorites, include directory for the user; otherwise, \n      include directory for uploader of the gallery (note: does not apply when  \n      uploader is anonymous)                                                    \n  v   Include \"Favorites\" directory (only applies when downloading user         \n      favorites)\n  f   Include directory for folder containing the gallery (note: does not apply \n      when downloading a single gallery)                                        \n  g   Include directory for the gallery itself                                  \n  -   No directory structure. All images will be downloaded to --out-dir.       \n\n  Default: uvfg \n```\n\n## Changelog\n\nv2.1.0\n- Add proxy support ([#6](https://github.com/patrickkfkan/imagefap-dl/issues/6))\n- Add support for downloading from multiple URLs ([#8](https://github.com/patrickkfkan/imagefap-dl/issues/8))\n\nv2.0.0\n- Add support for downloading user favorites ([#5](https://github.com/patrickkfkan/imagefap-dl/issues/5))\n- Add `--seq-filenames` option\n- Bump minimum required version of Node.js to v18\n\nv1.2.0\n- Add `--full-filenames` option ([#2](https://github.com/patrickkfkan/imagefap-dl/issues/2))\n\nv1.1.1\n- Fix download of galleries from anonymous uploaders\n\nv1.1.0\n- Optimize fetching of image URLs\n- Misc bug fixes\n\nv1.0.0\n- Initial release\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickkfkan%2Fimagefap-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickkfkan%2Fimagefap-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickkfkan%2Fimagefap-dl/lists"}