{"id":17995022,"url":"https://github.com/p0dalirius/pdsimage-downloader","last_synced_at":"2025-09-03T16:31:23.318Z","repository":{"id":51822979,"uuid":"520634381","full_name":"p0dalirius/pdsimage-downloader","owner":"p0dalirius","description":"A python script to filter by filename and download PDS images.","archived":false,"fork":false,"pushed_at":"2023-10-02T12:13:46.000Z","size":905,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-18T18:45:32.450Z","etag":null,"topics":["download","image","imaging","pds","python","script"],"latest_commit_sha":null,"homepage":"https://podalirius.net/","language":"Python","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/p0dalirius.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":{"github":"p0dalirius","patreon":"Podalirius"}},"created_at":"2022-08-02T20:03:52.000Z","updated_at":"2024-08-12T20:25:49.000Z","dependencies_parsed_at":"2024-10-29T20:44:00.872Z","dependency_job_id":null,"html_url":"https://github.com/p0dalirius/pdsimage-downloader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0dalirius%2Fpdsimage-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0dalirius%2Fpdsimage-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0dalirius%2Fpdsimage-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0dalirius%2Fpdsimage-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p0dalirius","download_url":"https://codeload.github.com/p0dalirius/pdsimage-downloader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231902081,"owners_count":18443328,"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":["download","image","imaging","pds","python","script"],"created_at":"2024-10-29T20:17:41.271Z","updated_at":"2025-09-03T16:31:23.309Z","avatar_url":"https://github.com/p0dalirius.png","language":"Python","funding_links":["https://github.com/sponsors/p0dalirius","https://patreon.com/Podalirius"],"categories":[],"sub_categories":[],"readme":"![](./.github/banner.png)\n\n\u003cp align=\"center\"\u003e\n  A python script to filter by filename and download PDS images.\n  \u003cbr\u003e\n  \u003cimg alt=\"GitHub release (latest by date)\" src=\"https://img.shields.io/github/v/release/p0dalirius/pdsimage-downloader\"\u003e\n  \u003ca href=\"https://twitter.com/intent/follow?screen_name=podalirius_\" title=\"Follow\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/podalirius_?label=Podalirius\u0026style=social\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.youtube.com/c/Podalirius_?sub_confirmation=1\" title=\"Subscribe\"\u003e\u003cimg alt=\"YouTube Channel Subscribers\" src=\"https://img.shields.io/youtube/channel/subscribers/UCF_x5O7CSfr82AfNVTKOv_A?style=social\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\n\n## Features\n\n - [x] Running on windows and linux machines.\n - [x] Filter on specific filenames with `--name-contains` option.\n - [x] Choose the download directory with the `--output-dir` option.\n\n## Installation\n\nIn order to use this script we need to install `bs4`, `lxml`, `requests` and `rich`. We can do this with this command: \n\n```\npython3 -m pip install -r requirements.txt\n```\n\nor directly\n\n```  \npip install bs4 lxml requests rich\n```\n\n## Usage\n\n```\n$ ./pdsimage_downloader.py  -h\npdsimage downloader v1.1 - by Remi GASCOU (Podalirius)\n\nusage: pdsimage_downloader.py [-h] -u URL [-n NAME_CONTAINS] [-D OUTPUT_DIR] [-v]\n\nA python script to filter by filename and download PDS images.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -u URL, --url URL     URL of the PDS image archive.\n  -n NAME_CONTAINS, --name-contains NAME_CONTAINS\n                        Filtering only files where the name contains this string.\n  -D OUTPUT_DIR, --output-dir OUTPUT_DIR\n                        Output directory where the images will be stored.\n  -v, --verbose         Verbose mode. (default: False)\n```\n\n## Example\n\n```\n./pdsimage_downloader.py --name-contains _DM_ -u https://pdsimage2.wr.usgs.gov/archive/mess-h-mdis-5-dem-elevation-v1.0/MESSDEM_1001/DEM/REGIONAL/IMG/\n```\n\n![](./.github/example.png)\n\n## Demonstration\n\n## On Windows:\n\nhttps://user-images.githubusercontent.com/79218792/182469698-cce9bb6c-d57f-4588-9f16-eeb09215b775.mp4\n\n## On Linux:\n\nhttps://user-images.githubusercontent.com/79218792/182469687-fb5d2f3c-29f5-431f-bd0f-8beb55b10a56.mp4\n\n## Contributing\n\nPull requests are welcome. Feel free to open an issue if you want to add other features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp0dalirius%2Fpdsimage-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp0dalirius%2Fpdsimage-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp0dalirius%2Fpdsimage-downloader/lists"}