{"id":47905014,"url":"https://github.com/wikimedia-pl/mbc-importer","last_synced_at":"2026-04-04T04:48:18.649Z","repository":{"id":38120433,"uuid":"366001499","full_name":"wikimedia-pl/mbc-importer","owner":"wikimedia-pl","description":"Script importing \"Mazowiecka Biblietka Cyfrowa\" files into Wikimedia Commons","archived":false,"fork":false,"pushed_at":"2026-03-31T05:22:35.000Z","size":123,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-04T04:48:05.240Z","etag":null,"topics":["dlibra","glam","wikimedia-commons"],"latest_commit_sha":null,"homepage":"https://commons.wikimedia.org/wiki/Special:Contributions/Mazovian_Digital_Library_Upload","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/wikimedia-pl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-10T10:18:52.000Z","updated_at":"2026-03-09T13:22:17.000Z","dependencies_parsed_at":"2024-11-20T19:31:06.426Z","dependency_job_id":"73ef39da-7f66-428e-9a74-bf1fdc9ce2bb","html_url":"https://github.com/wikimedia-pl/mbc-importer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wikimedia-pl/mbc-importer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia-pl%2Fmbc-importer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia-pl%2Fmbc-importer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia-pl%2Fmbc-importer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia-pl%2Fmbc-importer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wikimedia-pl","download_url":"https://codeload.github.com/wikimedia-pl/mbc-importer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia-pl%2Fmbc-importer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31388168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dlibra","glam","wikimedia-commons"],"created_at":"2026-04-04T04:48:16.324Z","updated_at":"2026-04-04T04:48:18.639Z","avatar_url":"https://github.com/wikimedia-pl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mbc-harvester\n\nA script harvesting [Mazowiecka Biblietka Cyfrowa collection\"Warszawa w ilustracji prasowej XIX w.\"](http://mbc.cyfrowemazowsze.pl/dlibra/collectiondescription?dirids=231). Files are then [uploaded on Wikimedia Commons](https://commons.wikimedia.org/wiki/Special:Contributions/Mazovian_Digital_Library_Upload).\n\nIt can crawl any e-library that is powered by [OAI-compatible software](https://www.openarchives.org/), for instance [dLibra](https://dingo.psnc.pl/dlibra/).\n\n[**Importer is executed**](https://github.com/wikimedia-pl/mbc-importer/actions/workflows/do-import.yml) via GitHub Actions cross **twice a week** - at 7:00 AM every Monday and Thursday.\n\n## Install\n\nSet up Python env.\n\n```\nvirtualenv env -ppython38\n. env/bin/activate\npip install -r requirements.txt\n```\n\nSet up account that will used for uploads.\n\n```\n$ cat user-password.py \n('commons', 'commons', 'Mazovian_Digital_Library_Upload', 'XXX')\n```\n\n## Run\n\n```\npython harvest.py\n```\n\n## GitHub Actions\n\nYou need to set up the following secrets in order to run the importer as a cron-triggered action:\n\n* `HTTP_PROXY` (e.g. `socks5://example.com:12345`)\n* `PYWIKIBOT_USERNAME`\n* `PYWIKIBOT_PASSWORD`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikimedia-pl%2Fmbc-importer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwikimedia-pl%2Fmbc-importer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikimedia-pl%2Fmbc-importer/lists"}