{"id":28714690,"url":"https://github.com/rsusik/pull_request_downloader","last_synced_at":"2026-05-19T07:08:46.269Z","repository":{"id":37059942,"uuid":"251280906","full_name":"rsusik/pull_request_downloader","owner":"rsusik","description":"A script that downloads the pull requests of the given repository as HTML files.","archived":false,"fork":false,"pushed_at":"2024-05-14T22:16:16.000Z","size":7,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T22:49:53.197Z","etag":null,"topics":["download","github","html","pull-request"],"latest_commit_sha":null,"homepage":"","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/rsusik.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":"2020-03-30T11:11:36.000Z","updated_at":"2021-08-06T04:21:04.000Z","dependencies_parsed_at":"2025-10-15T13:41:32.050Z","dependency_job_id":"9e46e418-c362-4a60-9c5f-28637e455b43","html_url":"https://github.com/rsusik/pull_request_downloader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rsusik/pull_request_downloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsusik%2Fpull_request_downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsusik%2Fpull_request_downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsusik%2Fpull_request_downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsusik%2Fpull_request_downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsusik","download_url":"https://codeload.github.com/rsusik/pull_request_downloader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsusik%2Fpull_request_downloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33205639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"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":["download","github","html","pull-request"],"created_at":"2025-06-15T01:08:15.579Z","updated_at":"2026-05-19T07:08:46.233Z","avatar_url":"https://github.com/rsusik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pull request downloader\n\n## About\nDownloads all pull requests from given repository as html files.\n\n## Execution\nReplace URL (variable `start_urls`) in `get_pull_req.py` file and then:\n\n```\nconda create -n powp python=3\nconda activate powp\npython -m pip install -r requirements.txt\nscrapy runspider get_pull_req.py\n```\n\n## Output\n```\n(powp) [ok@localhost powp]$ scrapy runspider get_pull_req.py \nhttps://github.com/iis-powp-2020/powp_jobs2d/pulls?page=1\u0026q=is%3Aclosed\nPull request: /iis-powp-2020/powp_jobs2d/pull/53\nPull request: /iis-powp-2020/powp_jobs2d/pull/52\nPull request: /iis-powp-2020/powp_jobs2d/pull/51\n...\nPull request: /iis-powp-2020/powp_jobs2d/pull/29\nPull request: /iis-powp-2020/powp_jobs2d/pull/28\nPull request: /iis-powp-2020/powp_jobs2d/pull/27\nPull request: /iis-powp-2020/powp_jobs2d/pull/26\nNext page: /iis-powp-2020/powp_jobs2d/pulls?page=2\u0026q=is%3Aclosed\nNext page: /iis-powp-2020/powp_jobs2d/pulls?page=2\u0026q=is%3Aclosed\nhttps://github.com//iis-powp-2020/powp_jobs2d/pulls?page=2\u0026q=is%3Aclosed\nPull request: /iis-powp-2020/powp_jobs2d/pull/25\nPull request: /iis-powp-2020/powp_jobs2d/pull/24\nPull request: /iis-powp-2020/powp_jobs2d/pull/23\n...\nPull request: /iis-powp-2020/powp_jobs2d/pull/3\nPull request: /iis-powp-2020/powp_jobs2d/pull/2\nPull request: /iis-powp-2020/powp_jobs2d/pull/1\n(powp) [ok@localhost powp]$ ls pull_requests/\n11.html  16.html  20.html  25.html  2.html   34.html  39.html  43.html  6.html\n12.html  17.html  21.html  26.html  30.html  35.html  3.html   45.html  7.html\n13.html  18.html  22.html  27.html  31.html  36.html  40.html  4.html   8.html\n14.html  19.html  23.html  28.html  32.html  37.html  41.html  53.html  9.html\n15.html  1.html   24.html  29.html  33.html  38.html  42.html  5.html\n```\n\n## Fetch all pull requests as branches\nSet the `.git/config` as below example (last line - _pull_)\n\n```\n[remote \"origin\"]\n        url = https://github.com/iis-powp-2020/powp_jobs2d\n        fetch = +refs/heads/*:refs/remotes/origin/*\n        fetch = +refs/pull/*/head:refs/remotes/origin/pr/*\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsusik%2Fpull_request_downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsusik%2Fpull_request_downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsusik%2Fpull_request_downloader/lists"}