{"id":22683854,"url":"https://github.com/jerboaburrow/getimagesfromwikimediawithattributions","last_synced_at":"2025-03-29T14:41:51.583Z","repository":{"id":257085781,"uuid":"857288531","full_name":"JerboaBurrow/GetImagesFromWikiMediaWithAttributions","owner":"JerboaBurrow","description":"Extract images form a query to Wikimedia, with attributions","archived":false,"fork":false,"pushed_at":"2024-09-14T10:12:20.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-04T15:44:36.676Z","etag":null,"topics":["downloader","images","web","web-scraping","wikimedia","wikimedia-commons","wikipedia"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JerboaBurrow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-09-14T08:53:13.000Z","updated_at":"2024-09-14T10:12:23.000Z","dependencies_parsed_at":"2024-09-14T19:48:34.192Z","dependency_job_id":null,"html_url":"https://github.com/JerboaBurrow/GetImagesFromWikiMediaWithAttributions","commit_stats":null,"previous_names":["jerboaburrow/getimagesfromwikimedia"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerboaBurrow%2FGetImagesFromWikiMediaWithAttributions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerboaBurrow%2FGetImagesFromWikiMediaWithAttributions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerboaBurrow%2FGetImagesFromWikiMediaWithAttributions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerboaBurrow%2FGetImagesFromWikiMediaWithAttributions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JerboaBurrow","download_url":"https://codeload.github.com/JerboaBurrow/GetImagesFromWikiMediaWithAttributions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200301,"owners_count":20739563,"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","images","web","web-scraping","wikimedia","wikimedia-commons","wikipedia"],"created_at":"2024-12-09T21:14:26.095Z","updated_at":"2025-03-29T14:41:51.563Z","avatar_url":"https://github.com/JerboaBurrow.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Usage\n\nTo get 3 images of cheese,\n\n```bash\npython3 script/get_images_from_wikimedia.py cheese -take 3\n```\nwill create a directory ```images/cheese``` with the image files below\n\n| 1.jpg | 2.jpg    | 3.jpg    |\n| :---:   | :---: | :---: |\n| ![1](https://github.com/user-attachments/assets/0db16e0c-f405-4d57-8a31-72be307089f1) | ![2](https://github.com/user-attachments/assets/f7314cf9-ddbd-4096-8456-25860b6130ac)|![3](https://github.com/user-attachments/assets/3e625112-18d0-43e4-bde6-1d2bec2b3b25)|\n\nand the ```attributions.json```,\n\n```json\n{\n    \"1\": {\n        \"Attribution\": \"\",\n        \"LicenseShortName\": \"Public domain\",\n        \"LicenseUrl\": \"\",\n        \"Artist\": \"\u003cbdi\u003e\u003ca href=\\\"https://en.wikipedia.org/wiki/en:Clara_Peeters\\\" class=\\\"extiw\\\" title=\\\"w:en:Clara Peeters\\\"\u003e\u003cspan title=\\\"Flemish painter (1594-1657)\\\"\u003eClara Peeters\u003c/span\u003e\u003c/a\u003e\\n\u003c/bdi\u003e\"\n    },\n    \"2\": {\n        \"Attribution\": \"\",\n        \"LicenseShortName\": \"Public domain\",\n        \"LicenseUrl\": \"\",\n        \"Artist\": \"Original photo by \u003ca rel=\\\"nofollow\\\" class=\\\"external text\\\" href=\\\"http://pdphoto.org/\\\"\u003eJohn Sullivan\u003c/a\u003e. Edit own work.\"\n    },\n    \"3\": {\n        \"Attribution\": \"This file is not in the public domain. Therefore you are requested to use the following next to the image if you reuse this file: \\u00a9 \u003ca href=\\\"//commons.wikimedia.org/wiki/User:Yann\\\" title=\\\"User:Yann\\\"\u003eYann Forget\u003c/a\u003e\\u00a0/\\u00a0\u003ca class=\\\"external text\\\" href=\\\"https://commons.wikimedia.org\\\"\u003eWikimedia Commons\u003c/a\u003e\",\n        \"LicenseShortName\": \"CC BY-SA 4.0\",\n        \"LicenseUrl\": \"https://creativecommons.org/licenses/by-sa/4.0\",\n        \"Artist\": \"\u003ca href=\\\"//commons.wikimedia.org/wiki/User:Yann\\\" title=\\\"User:Yann\\\"\u003eYann Forget\u003c/a\u003e\"\n    }\n}\n```\n### Rights\n\n- (Output) Files downloaded are subject to any license listed in the ```{path}/{query}/attributions.json``` file.\n- The source code is GPLv3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerboaburrow%2Fgetimagesfromwikimediawithattributions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerboaburrow%2Fgetimagesfromwikimediawithattributions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerboaburrow%2Fgetimagesfromwikimediawithattributions/lists"}