{"id":15014462,"url":"https://github.com/buihdk/scrapy-books","last_synced_at":"2026-02-09T08:32:31.201Z","repository":{"id":165882993,"uuid":"641284599","full_name":"buihdk/scrapy-books","owner":"buihdk","description":"A demo of scraping book data from the website https://books.toscrape.com using Scrapy","archived":false,"fork":false,"pushed_at":"2023-05-18T04:52:28.000Z","size":25612,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T00:17:52.987Z","etag":null,"topics":["ipython","scrapy","scrapy-spider"],"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/buihdk.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}},"created_at":"2023-05-16T06:50:55.000Z","updated_at":"2023-06-20T14:16:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"c77d4e8e-7553-4883-bbd4-be63e481311e","html_url":"https://github.com/buihdk/scrapy-books","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buihdk/scrapy-books","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buihdk%2Fscrapy-books","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buihdk%2Fscrapy-books/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buihdk%2Fscrapy-books/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buihdk%2Fscrapy-books/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buihdk","download_url":"https://codeload.github.com/buihdk/scrapy-books/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buihdk%2Fscrapy-books/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266296803,"owners_count":23907013,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ipython","scrapy","scrapy-spider"],"created_at":"2024-09-24T19:45:39.866Z","updated_at":"2026-02-09T08:32:26.181Z","avatar_url":"https://github.com/buihdk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This python tool is used to crawl book data from the website https://books.toscrape.com \n\n## Steps to crawl\n- run `python -m venv venv` at root to create a virtual environment\n- run `source venv/bin/activate` at root to activate the newly created virtual environment\n- run `pip install -r requirements.txt` to install all the required modules for this python project\n- run `scrapy crawl bookspider` inside web-scrapy/bookscraper/bookscraper to start crawling\n### A few useful commands\n- run `scrapy startproject bookscraper` inside web-scrapy to initiate a bookscraper project\n- run `scrapy genspider bookspider books.toscrape.com` inside bookscraper/spiders to generate a spider bookspider\n- run `pip3 install ipython`\n- add `shell = ipython` in scrapy.cfg\n- run `scrapy shell` for testing scrapy commands\n- run `scrapy crawl bookspider -o bookdata.csv` to craw and output data to bookdata.csv \n- run `scrapy crawl bookspider -o bookdata.json` to craw and output data to bookdata.json \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuihdk%2Fscrapy-books","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuihdk%2Fscrapy-books","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuihdk%2Fscrapy-books/lists"}