[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EF1WPYJCA5J00M7C22PQS4":3,"skill-same:01M6EF1WPYJCA5J00M7C22PQS4":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M6EF1WPYJCA5J00M7C22PQS4","gallery-dl",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fgallery-dl\u002FSKILL.md",[],[18],"gallery dl","2026-11-10 10:12:30",false,"# gallery-dl\n\n## Overview\n\ngallery-dl is a command-line tool for downloading image galleries and collections from over 100 websites — including Instagram, Twitter\u002FX, Reddit, Pixiv, DeviantArt, Tumblr, Flickr, ArtStation, Imgur, and dozens of image boards. It handles authentication, pagination, metadata extraction, and flexible file naming. Think of it as yt-dlp but for images and galleries.\n\n## Instructions\n\n### Step 1: Installation\n\n```bash\n# pip (recommended)\npip install gallery-dl\n\n# With optional dependencies for broader format support\npip install gallery-dl[yt-dlp]    # adds video download support via yt-dlp\n\n# Standalone binary (Linux)\ncurl -L https:\u002F\u002Fgithub.com\u002Fmikf\u002Fgallery-dl\u002Freleases\u002Flatest\u002Fdownload\u002Fgallery-dl.bin -o \u002Fusr\u002Flocal\u002Fbin\u002Fgallery-dl\nchmod +x \u002Fusr\u002Flocal\u002Fbin\u002Fgallery-dl\n\n# macOS\nbrew install gallery-dl\n\n# Update\npip install -U gallery-dl\n\n# Verify\ngallery-dl --version\n```\n\n### Step 2: Basic Downloads\n\n```bash\n# Download from a gallery\u002Fpost URL\ngallery-dl \"https:\u002F\u002Fwww.instagram.com\u002Fp\u002FPOST_ID\u002F\"\ngallery-dl \"https:\u002F\u002Ftwitter.com\u002Fuser\u002Fstatus\u002F123456789\"\ngallery-dl \"https:\u002F\u002Fwww.reddit.com\u002Fr\u002FEarthPorn\u002Ftop\u002F?t=month\"\ngallery-dl \"https:\u002F\u002Fwww.pixiv.net\u002Fen\u002Fartworks\u002F12345678\"\ngallery-dl \"https:\u002F\u002Fimgur.com\u002Fa\u002FALBUM_ID\"\n\n# Download entire user profile\ngallery-dl \"https:\u002F\u002Fwww.instagram.com\u002Fusername\u002F\"\ngallery-dl \"https:\u002F\u002Ftwitter.com\u002Fusername\u002Fmedia\"\ngallery-dl \"https:\u002F\u002Fwww.deviantart.com\u002Fusername\"\ngallery-dl \"https:\u002F\u002Fwww.pixiv.net\u002Fen\u002Fusers\u002FUSER_ID\"\n\n# Download with custom output directory\ngallery-dl -d .\u002Fdownloads \"URL\"\n\n# Download with verbose output\ngallery-dl -v \"URL\"\n```\n\n### Step 3: Output Templates and Organization\n\ngallery-dl uses a powerful template system for organizing downloaded files into directories.\n\n```bash\n# Custom filename template\ngallery-dl -o \"filename={category}_{id}_{title}.{extension}\" \"URL\"\n\n# Organize by site and user\ngallery-dl -o \"directory=['{category}', '{subcategory}']\" \"URL\"\n\n# Custom directory per site\ngallery-dl -o \"base-directory=.\u002Fmedia\" -o \"directory=['{category}', '{user}', '{date:%Y-%m}']\" \"URL\"\n```\n\nDefault directory structure: `.\u002Fgallery-dl\u002F{category}\u002F{subcategory}\u002F`\n\n### Step 4: Authentication\n\nMany sites require login for full access (age-restricted content, private profiles, higher rate limits).\n\n```bash\n# Username + password\ngallery-dl -u \"username\" -p \"password\" \"URL\"\n\n# Cookie-based authentication (recommended for most sites)\n# Export cookies from your browser using a browser extension (e.g., \"Get cookies.txt\")\ngallery-dl --cookies cookies.txt \"URL\"\n\n# Browser cookie extraction (auto-extracts from installed browser)\ngallery-dl --cookies-from-browser firefox \"URL\"\ngallery-dl --cookies-from-browser chrome \"URL\"\n\n# OAuth (for Tumblr, DeviantArt, Reddit, etc.)\ngallery-dl oauth:reddit          # opens browser for OAuth flow\ngallery-dl oauth:deviantart\ngallery-dl oauth:tumblr\n```\n\n### Step 5: Filtering and Selection\n\n```bash\n# Download only images (skip videos)\ngallery-dl --filter \"extension in ('jpg', 'jpeg', 'png', 'gif', 'webp')\" \"URL\"\n\n# Download only videos\ngallery-dl --filter \"extension in ('mp4', 'webm', 'mov')\" \"URL\"\n\n# Minimum image dimensions\ngallery-dl --filter \"width >= 1920 and height >= 1080\" \"URL\"\n\n# Date range\ngallery-dl --filter \"date >= datetime(2024, 1, 1)\" \"URL\"\n\n# Limit number of downloads\ngallery-dl --range \"1-50\" \"URL\"       # first 50 items\ngallery-dl --range \"10-20\" \"URL\"      # items 10 through 20\n\n# Skip files that already exist\ngallery-dl --no-skip \"URL\"    # download even if exists (default: skip)\n```\n\n### Step 6: Configuration File\n\ngallery-dl supports a JSON configuration file at `~\u002F.config\u002Fgallery-dl\u002Fconfig.json` (or `~\u002F.gallery-dl.conf`).\n\n```json\n{\n  \"extractor\": {\n    \"base-directory\": \".\u002Fgallery-dl\u002F\",\n    \"archive\": \"~\u002F.gallery-dl\u002Farchive.sqlite3\",\n\n    \"instagram\": {\n      \"cookies-from-browser\": \"firefox\",\n      \"directory\": [\"instagram\", \"{user}\"],\n      \"filename\": \"{date:%Y%m%d}_{shortcode}_{num:>02}.{extension}\",\n      \"posts\": {\n        \"include\": [\"image\", \"video\", \"sidecar\"]\n      }\n    },\n\n    \"twitter\": {\n      \"cookies-from-browser\": \"chrome\",\n      \"directory\": [\"twitter\", \"{user[name]}\"],\n      \"filename\": \"{date:%Y%m%d}_{tweet_id}_{num:>02}.{extension}\",\n      \"retweets\": false,\n      \"text-tweets\": false\n    },\n\n    \"reddit\": {\n      \"directory\": [\"reddit\", \"{subreddit}\", \"{id}\"],\n      \"comments\": 0,\n      \"morecomments\": false\n    },\n\n    \"pixiv\": {\n      \"directory\": [\"pixiv\", \"{user[name]}\"],\n      \"filename\": \"{id}_p{num:>02}.{extension}\",\n      \"ugoira\": true\n    }\n  },\n\n  \"downloader\": {\n    \"rate\": \"2M\",\n    \"retries\": 3,\n    \"timeout\": 30.0,\n    \"part\": true,\n    \"part-directory\": \"\u002Ftmp\u002F.gallery-dl\u002F\"\n  },\n\n  \"output\": {\n    \"log\": {\n      \"level\": \"info\",\n      \"format\": \"{message}\"\n    }\n  },\n\n  \"postprocessor\": [\n    {\n      \"name\": \"metadata\",\n      \"mode\": \"json\"\n    }\n  ]\n}\n```\n\n### Step 7: Archive and Deduplication\n\nThe archive feature tracks downloaded files in a SQLite database, preventing re-downloads on subsequent runs.\n\n```bash\n# Use archive file (skip already downloaded)\ngallery-dl --download-archive archive.sqlite3 \"URL\"\n\n# Clear archive for specific URL\ngallery-dl --clear-archive archive.sqlite3 \"URL\"\n```\n\nIn config:\n```json\n{\n  \"extractor\": {\n    \"archive\": \"~\u002F.gallery-dl\u002Farchive.sqlite3\"\n  }\n}\n```\n\n### Step 8: Post-Processing\n\ngallery-dl can run post-processors on downloaded files — metadata export, conversion, classification.\n\n```json\n{\n  \"postprocessor\": [\n    {\n      \"name\": \"metadata\",\n      \"mode\": \"json\",\n      \"directory\": \"metadata\u002F\"\n    },\n    {\n      \"name\": \"exec\",\n      \"command\": [\"convert\", \"{_path}\", \"-resize\", \"1920x1080>\", \"{_path}\"]\n    },\n    {\n      \"name\": \"zip\",\n      \"compression\": \"store\",\n      \"extension\": \"cbz\"\n    }\n  ]\n}\n```\n\n### Step 9: Supported Sites (Partial List)\n\nMajor platforms supported by gallery-dl:\n\n- **Social media:** Instagram, Twitter\u002FX, Reddit, Tumblr, TikTok\n- **Art platforms:** Pixiv, DeviantArt, ArtStation, Newgrounds\n- **Image hosting:** Imgur, Flickr, SmugMug, Google Photos\n- **Image boards:** Danbooru, Gelbooru, Safebooru, E621, Konachan\n- **Manga\u002Fcomics:** MangaDex, Webtoon, Tapas, Dynasty Scans\n- **Stock\u002Fphotography:** Unsplash, 500px\n- **Other:** Patreon, Kemono, Cohost, Mastodon, Bluesky, Pillowfort\n\nFull list: `gallery-dl --list-extractors`\n\n### Step 10: Batch Downloads\n\n```bash\n# Download from URL list file\ngallery-dl -i urls.txt\n\n# Combine with rate limiting\ngallery-dl -i urls.txt --rate-limit 2M --sleep 3-5\n\n# Download with metadata export\ngallery-dl -i urls.txt --write-metadata\n```\n\n## Examples\n\n### Example 1: Archive an artist's complete portfolio from multiple platforms\n**User prompt:** \"Download all artwork from this artist — they post on Pixiv, Twitter, and DeviantArt. I want everything organized by platform with metadata saved.\"\n\nThe agent will:\n1. Set up a config with per-platform directory organization: `{category}\u002F{user}\u002F{date:%Y-%m}\u002F`\n2. Enable archive tracking to avoid duplicates: `--download-archive artist_archive.sqlite3`\n3. Run gallery-dl for each platform URL with metadata post-processor enabled.\n4. The archive database ensures running the same command later only downloads new posts.\n5. Report total files downloaded per platform and total disk usage.\n\n### Example 2: Build an image dataset from Reddit\n**User prompt:** \"I need to collect high-resolution landscape photos from r\u002FEarthPorn for a machine learning dataset. Only images above 1920x1080, from the last year, save metadata as JSON.\"\n\nThe agent will:\n1. Configure gallery-dl with dimension filter: `--filter \"width >= 1920 and height >= 1080\"`\n2. Add date filter for the last year and metadata post-processor.\n3. Run: `gallery-dl --filter \"width >= 1920 and height >= 1080\" --download-archive dataset_archive.sqlite3 -o \"postprocessor=[{'name': 'metadata', 'mode': 'json'}]\" \"https:\u002F\u002Fwww.reddit.com\u002Fr\u002FEarthPorn\u002Ftop\u002F?t=year\"`\n4. The JSON metadata files include title, author, score, dimensions, and original URL — useful for dataset labeling.\n\n## Guidelines\n\n- Always use `--download-archive` when downloading from profiles or feeds that update over time; it prevents re-downloading previously saved files on subsequent runs.\n- Set up authentication (cookies or OAuth) before downloading from platforms that gate content behind login — Instagram, Pixiv, Patreon, and Twitter all limit unauthenticated access.\n- Use `--cookies-from-browser` instead of manual cookie export when possible — it auto-extracts fresh cookies and handles session tokens.\n- Apply rate limiting (`\"rate\": \"2M\"` and `\"sleep\": \"3-5\"` in config) to avoid triggering anti-bot measures.\n- Test with `--range \"1-5\"` first to verify your configuration and filename templates before running a full download.\n- gallery-dl pairs well with yt-dlp — gallery-dl handles images and galleries, yt-dlp handles video. Together they cover most content download scenarios.\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fgallery-dl",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill gallery-dl",{"tool":38,"command":39},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill gallery-dl",{"tool":41,"command":42},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill gallery-dl","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fgallery-dl\u002FSKILL.md",true,[],[47,56,65,74,80,86],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[53,54,55],"model","model hierarchy","model hierarchy skill",{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[62,63,64],"MCP","zoom","zoom mcp",{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[71,72,73,63],"sdk","zoom apps sdk","apps",{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[76],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[82],{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[88]]