{"id":25999545,"url":"https://github.com/eugen1j/aioscrapy","last_synced_at":"2025-10-09T09:16:32.390Z","repository":{"id":54542443,"uuid":"186267756","full_name":"eugen1j/aioscrapy","owner":"eugen1j","description":"Python asynchronous library for web scrapping","archived":false,"fork":false,"pushed_at":"2021-08-24T09:34:22.000Z","size":40,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-09T09:16:32.109Z","etag":null,"topics":["asyncio","crawler","python-crawler","python37","webscraper"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eugen1j.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}},"created_at":"2019-05-12T14:51:30.000Z","updated_at":"2024-03-16T16:37:59.000Z","dependencies_parsed_at":"2022-08-13T19:10:37.480Z","dependency_job_id":null,"html_url":"https://github.com/eugen1j/aioscrapy","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/eugen1j/aioscrapy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugen1j%2Faioscrapy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugen1j%2Faioscrapy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugen1j%2Faioscrapy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugen1j%2Faioscrapy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugen1j","download_url":"https://codeload.github.com/eugen1j/aioscrapy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugen1j%2Faioscrapy/sbom","scorecard":{"id":384630,"data":{"date":"2025-08-11","repo":{"name":"github.com/eugen1j/aioscrapy","commit":"af23a0c9acc84995bc1b2aabd7c2c5be4fedac55"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T16:18:46.199Z","repository_id":54542443,"created_at":"2025-08-18T16:18:46.199Z","updated_at":"2025-08-18T16:18:46.199Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001120,"owners_count":26083021,"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-09T02:00:07.460Z","response_time":59,"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":["asyncio","crawler","python-crawler","python37","webscraper"],"created_at":"2025-03-05T18:29:12.022Z","updated_at":"2025-10-09T09:16:32.362Z","avatar_url":"https://github.com/eugen1j.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python async library for web scraping\n\n[![PyPI version](https://badge.fury.io/py/aioscrapy.svg)](https://badge.fury.io/py/aioscrapy)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/eugen1j/aioscrapy/blob/master/LICENSE)\n\n[![Build Status](https://api.travis-ci.com/eugen1j/aioscrapy.svg?branch=master)](https://travis-ci.com/github/eugen1j/aioscrapy)\n[![codecov](https://codecov.io/gh/eugen1j/aioscrapy/branch/master/graph/badge.svg)](https://codecov.io/gh/eugen1j/aioscrapy)\n[![codebeat badge](https://codebeat.co/badges/c494c251-c554-4f61-be57-6ca484ae7ba9)](https://codebeat.co/projects/github-com-eugen1j-aioscrapy-master) \n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/54e3d1b41bed4c9fb62e25483d1fe1eb)](https://www.codacy.com/app/eugen1j/aioscrapy?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=eugen1j/aioscrapy\u0026amp;utm_campaign=Badge_Grade)\n\n## Installing\n\n    pip install aioscrapy\n\n## Usage\n\nPlain text scraping\n```python\nimport asyncio\nimport json\n\nfrom aioscrapy import Client, WebTextClient, SingleSessionPool, Dispatcher, SimpleWorker\n\n\nclass CustomClient(Client[str, dict]):\n    def __init__(self, client: WebTextClient):\n        self._client = client\n\n    async def fetch(self, key: str) -\u003e dict:\n        data = await self._client.fetch(key)\n        return json.loads(data)\n\n\nasync def main():\n    pool = SingleSessionPool()\n    dispatcher = Dispatcher(['https://httpbin.org/get'])\n    client = CustomClient(WebTextClient(pool))\n    worker = SimpleWorker(dispatcher, client)\n\n    result = await worker.run()\n    return result\n\nloop = asyncio.get_event_loop()\nprint(loop.run_until_complete(main()))\n```\n\nByte content downloading\n```python\nimport asyncio\n\nfrom aioscrapy import Client, WebByteClient, SingleSessionPool, Dispatcher, SimpleWorker\n\n\nclass CustomClient(Client[str, bytes]):\n    def __init__(self, client: WebByteClient):\n        self._client = client\n\n    async def fetch(self, key: str) -\u003e bytes:\n        data = await self._client.fetch(key)\n        return data\n\n\nasync def main():\n    pool = SingleSessionPool()\n    dispatcher = Dispatcher(['https://httpbin.org/image'])\n    client = CustomClient(WebByteClient(pool))\n    worker = SimpleWorker(dispatcher, client)\n\n    result = await worker.run()\n    return result\n\nloop = asyncio.get_event_loop()\ndata: dict = loop.run_until_complete(main())\nfor url, byte_content in data.items():\n    print(url + \": \" + str(len(byte_content)) + \" bytes\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugen1j%2Faioscrapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugen1j%2Faioscrapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugen1j%2Faioscrapy/lists"}