{"id":16420564,"url":"https://github.com/iyanuashiri/wikipedia-reference-scraper","last_synced_at":"2025-10-05T14:55:21.483Z","repository":{"id":50208992,"uuid":"122563955","full_name":"iyanuashiri/wikipedia-reference-scraper","owner":"iyanuashiri","description":"Wikipedia API wrapper for references","archived":false,"fork":false,"pushed_at":"2022-12-09T07:39:46.000Z","size":11,"stargazers_count":34,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T17:05:05.459Z","etag":null,"topics":["api","api-wrapper","beautifulsoup","python","scraper","wikipedia"],"latest_commit_sha":null,"homepage":null,"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/iyanuashiri.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}},"created_at":"2018-02-23T02:38:05.000Z","updated_at":"2025-02-21T18:09:14.000Z","dependencies_parsed_at":"2023-01-25T12:15:16.060Z","dependency_job_id":null,"html_url":"https://github.com/iyanuashiri/wikipedia-reference-scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iyanuashiri/wikipedia-reference-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyanuashiri%2Fwikipedia-reference-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyanuashiri%2Fwikipedia-reference-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyanuashiri%2Fwikipedia-reference-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyanuashiri%2Fwikipedia-reference-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iyanuashiri","download_url":"https://codeload.github.com/iyanuashiri/wikipedia-reference-scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyanuashiri%2Fwikipedia-reference-scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278470179,"owners_count":25992203,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-wrapper","beautifulsoup","python","scraper","wikipedia"],"created_at":"2024-10-11T07:28:25.210Z","updated_at":"2025-10-05T14:55:21.433Z","avatar_url":"https://github.com/iyanuashiri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wikipedia-reference-scraper\nWikipedia API wrapper for references\n\n# Motivation\n\nI just graduated from Physiology department, University of Ibadan. I started typing my final year project some days before submission\ndeadline. I made use of Wikipedia for my literature review because each page is supported with enough references. The next task was\nto copy and paste the references. This was a lot of work considering the fact that some pages has over 200 references and I wasn't\nworking with just one page. I decided to make use of Wikipedia API wrappers but all the ones I checked didn't do what I needed. So\nI decided to write a simple script that scraped Wikipedia page.\n\n# Usage\n\n## Python Interactive Shell\n\n```\n\u003e\u003e\u003e from wikipedia_reference_scraper import WikipediaReferenceScraper as wrs\n\n\u003e\u003e\u003e wrs().write_to_document('https://en.wikipedia.org/wiki/Blood_pressure#References', 'filename.docx')\n```\n\n## Through the Command Line (with python-fire)\n\n```\n$ python wikipedia_reference_scraper.py write_to_document https://en.wikipedia.org/wiki/Blood_pressure#References filename.docx\n```\n\nIt pulls the references from a Wikipedia page and saves the references in a file.\n\n# Tools I Used\n\nRequests\n\nBeautifulSoup\n\npython-fire\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyanuashiri%2Fwikipedia-reference-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiyanuashiri%2Fwikipedia-reference-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyanuashiri%2Fwikipedia-reference-scraper/lists"}