{"id":24135121,"url":"https://github.com/sp1thas/scrapy-folder-tree","last_synced_at":"2025-09-19T07:31:50.106Z","repository":{"id":57464670,"uuid":"454341208","full_name":"sp1thas/scrapy-folder-tree","owner":"sp1thas","description":"[MIRROR OF https://codeberg.org/sp1thas/scrapy-folder-tree] A scrapy pipeline which stores files using folder trees.","archived":false,"fork":false,"pushed_at":"2025-05-04T08:05:40.000Z","size":871,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-12T09:17:57.411Z","etag":null,"topics":["folder-structure","folder-tree","hacktoberfest","python3","scrapy","scrapy-extension","scrapy-pipeline"],"latest_commit_sha":null,"homepage":"https://scrapy-folder-tree.simakis.me/?utm=gh","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/sp1thas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","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,"zenodo":null},"funding":{"ko_fi":"sp1thas"}},"created_at":"2022-02-01T10:18:44.000Z","updated_at":"2025-05-04T08:05:43.000Z","dependencies_parsed_at":"2023-10-30T18:23:24.559Z","dependency_job_id":"3678269a-42a0-4d91-b49c-9daa24e145da","html_url":"https://github.com/sp1thas/scrapy-folder-tree","commit_stats":{"total_commits":40,"total_committers":5,"mean_commits":8.0,"dds":0.6,"last_synced_commit":"181c78d41381320519a259f5a10843cc47bbd390"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sp1thas/scrapy-folder-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sp1thas%2Fscrapy-folder-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sp1thas%2Fscrapy-folder-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sp1thas%2Fscrapy-folder-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sp1thas%2Fscrapy-folder-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sp1thas","download_url":"https://codeload.github.com/sp1thas/scrapy-folder-tree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sp1thas%2Fscrapy-folder-tree/sbom","scorecard":{"id":839843,"data":{"date":"2025-08-11","repo":{"name":"github.com/sp1thas/scrapy-folder-tree","commit":"437238aef0336513cc34e229227db2f9144bf383"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1,"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":"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":"Code-Review","score":0,"reason":"Found 0/4 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":"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":"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":"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":"Binary-Artifacts","score":4,"reason":"binaries present in source code","details":["Warn: binary detected: src/scrapy_folder_tree/__pycache__/__init__.cpython-310.pyc:1","Warn: binary detected: src/scrapy_folder_tree/__pycache__/config.cpython-310.pyc:1","Warn: binary detected: src/scrapy_folder_tree/__pycache__/pipelines.cpython-310.pyc:1","Warn: binary detected: src/scrapy_folder_tree/trees/__pycache__/__init__.cpython-310.pyc:1","Warn: binary detected: src/scrapy_folder_tree/trees/__pycache__/date.cpython-310.pyc:1","Warn: binary detected: src/scrapy_folder_tree/trees/__pycache__/hash.cpython-310.pyc:1"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 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"}},{"name":"Vulnerabilities","score":0,"reason":"39 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: GHSA-3ww4-gg4f-jr7f","Warn: Project is vulnerable to: PYSEC-2024-225 / GHSA-6vqw-3v5j-54x4","Warn: Project is vulnerable to: GHSA-9v9h-cgj8-h64p","Warn: Project is vulnerable to: PYSEC-2023-112 / GHSA-cf7p-gm2m-833m","Warn: Project is vulnerable to: GHSA-h4gh-qq45-vh27","Warn: Project is vulnerable to: PYSEC-2023-254 / GHSA-jfhm-5ghh-2f97","Warn: Project is vulnerable to: GHSA-jm77-qphf-c4w8","Warn: Project is vulnerable to: GHSA-v8gr-m533-ghj9","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-3f63-hfp8-52jq","Warn: Project is vulnerable to: GHSA-44wm-f244-xhp3","Warn: Project is vulnerable to: PYSEC-2023-227 / GHSA-8ghj-p4vj-mr35","Warn: Project is vulnerable to: GHSA-j7hp-h8jx-5ppr","Warn: Project is vulnerable to: PYSEC-2023-175","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: GHSA-23j4-mw76-5v7h","Warn: Project is vulnerable to: PYSEC-2024-258 / GHSA-4qqq-9vqf-3h3f","Warn: Project is vulnerable to: GHSA-7j7m-v7m3-jqm7","Warn: Project is vulnerable to: PYSEC-2024-162 / GHSA-cc65-xxvf-f7r9","Warn: Project is vulnerable to: GHSA-cw9j-q3vf-hrrv","Warn: Project is vulnerable to: PYSEC-2017-83 / GHSA-h7wm-ph43-c39p","Warn: Project is vulnerable to: GHSA-jm3v-qxmh-hxwv","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: GHSA-c8m8-j448-xjx7","Warn: Project is vulnerable to: PYSEC-2024-75 / GHSA-cf56-g6w6-pqq2","Warn: Project is vulnerable to: PYSEC-2023-224 / GHSA-xc8x-vp79-p3wm","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T20:11:27.873Z","repository_id":57464670,"created_at":"2025-08-23T20:11:27.873Z","updated_at":"2025-08-23T20:11:27.873Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275896652,"owners_count":25548245,"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-09-19T02:00:09.700Z","response_time":108,"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":["folder-structure","folder-tree","hacktoberfest","python3","scrapy","scrapy-extension","scrapy-pipeline"],"created_at":"2025-01-12T01:45:18.608Z","updated_at":"2025-09-19T07:31:50.097Z","avatar_url":"https://github.com/sp1thas.png","language":"Python","funding_links":["https://ko-fi.com/sp1thas"],"categories":[],"sub_categories":[],"readme":"# scrapy-folder-tree\n\n[![status-badge](https://ci.codeberg.org/api/badges/14524/status.svg)](https://ci.codeberg.org/repos/14524)\n![PyPI](https://img.shields.io/pypi/v/scrapy-folder-tree)\n![PyPI - Format](https://img.shields.io/pypi/format/scrapy-folder-tree)\n![PyPI - Status](https://img.shields.io/pypi/status/scrapy-folder-tree)\n\nThis is a scrapy pipeline that provides an easy way to store files and images using various folder structures.\n\n\n## Supported folder structures:\n\nGiven this scraped file: `05b40af07cb3284506acbf395452e0e93bfc94c8.jpg`, you can choose the following folder structures:\n\n\n\u003cdetails\u003e\n  \u003csummary\u003eUsing the file name\u003c/summary\u003e\n\n  class: `scrapy-folder-tree.ImagesHashTreePipeline`\n\n  ```\n  full\n  ├── 0\n  .   ├── 5\n  .   .   ├── b\n  .   .   .   ├── 05b40af07cb3284506acbf395452e0e93bfc94c8.jpg\n  ```\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n  \u003csummary\u003eUsing the crawling time\u003c/summary\u003e\n\n  class: `scrapy-folder-tree.ImagesTimeTreePipeline`\n\n  ```\n  full\n  ├── 0\n  .   ├── 11\n  .   .   ├── 48\n  .   .   .   ├── 05b40af07cb3284506acbf395452e0e93bfc94c8.jpg\n  ```\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n  \u003csummary\u003eUsing the crawling date\u003c/summary\u003e\n\n  class: `scrapy-folder-tree.ImagesDateTreePipeline`\n\n  ```\n  full\n  ├── 2022\n  .   ├── 1\n  .   .   ├── 24\n  .   .   .   ├── 05b40af07cb3284506acbf395452e0e93bfc94c8.jpg\n  ```\n\u003c/details\u003e\n\n\n## Installation\n\n```shell\npip install scrapy-folder-tree\n```\n\n## Usage\n\nUse the following settings in your project:\n```python\nITEM_PIPELINES = {\n    'scrapy_folder_tree.FilesHashTreePipeline': 300\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsp1thas%2Fscrapy-folder-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsp1thas%2Fscrapy-folder-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsp1thas%2Fscrapy-folder-tree/lists"}