{"id":16589324,"url":"https://github.com/deavid/scradaway","last_synced_at":"2025-10-12T00:18:23.376Z","repository":{"id":66485159,"uuid":"92078245","full_name":"deavid/scradaway","owner":"deavid","description":"Scraper in Python Deavid's way","archived":false,"fork":false,"pushed_at":"2017-05-22T17:04:00.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T11:30:28.927Z","etag":null,"topics":[],"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/deavid.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-22T17:01:59.000Z","updated_at":"2017-05-22T17:04:02.000Z","dependencies_parsed_at":"2024-08-27T15:03:34.382Z","dependency_job_id":null,"html_url":"https://github.com/deavid/scradaway","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deavid/scradaway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deavid%2Fscradaway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deavid%2Fscradaway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deavid%2Fscradaway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deavid%2Fscradaway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deavid","download_url":"https://codeload.github.com/deavid/scradaway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deavid%2Fscradaway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009476,"owners_count":26084609,"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-11T02:00:06.511Z","response_time":55,"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":[],"created_at":"2024-10-11T23:08:27.703Z","updated_at":"2025-10-12T00:18:23.371Z","avatar_url":"https://github.com/deavid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scradaway\nScraper in Python Deavid's way\n\nThis is a fairly simple scraper that uses PostgreSQL as a download queue.\nIt reads config.xml, connects to the database and from there resumes the last\ndownload queue.\n\nFeatures\n----------\n    - Multiple sites at once.\n    - Allows for including/excluding url's using regular expression. Multiple\n      expressions are allowed, one per line.\n    - Extracts data as JSON, using CSS selectors. You decide how to name your\n      json object keys (Properties) without having to modify the underlying table \n      structure.\n    - Multithreading: by default, up to 16 threads are used to download at once.\n    - Cloud-ready: as Scradaway uses PostgreSQL internal\n      locking as means of correct queuing, any instance of scradaway that connects\n      to the same database will colaborate with the other instances.\n    - Different instances of Scradaway can work with different sites and connect\n      to the same database.\n    - Download is always resumed from the last state.\n\n\nQuickstart\n-----------------\n\nTo begin doing some work, simply adapt config.xml on scradaway/ folder to your \nneeds and do:\n\n  $ seq 2 | xargs -P8 -n1 -t python3 scradaway.py\n\nThis will start two workers with up to 16 threads each one. You can launch as\nmany instances as cores you have, but beware each thread uses a separate \nconnection to PostgreSQL, so you will have to modify postgresql.conf:\n\n  max_connections = 2000  # by default PostgreSQL comes with 100\n  \nAnd after that you will have to restart PostgreSQL (reload isn't enough).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeavid%2Fscradaway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeavid%2Fscradaway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeavid%2Fscradaway/lists"}