{"id":18573934,"url":"https://github.com/odynvolk/web-snake","last_synced_at":"2026-05-01T19:32:16.931Z","repository":{"id":25999687,"uuid":"29442157","full_name":"odynvolk/web-snake","owner":"odynvolk","description":"A simple web crawler in Python that crawls and returns the urls.","archived":false,"fork":false,"pushed_at":"2015-05-10T16:29:18.000Z","size":1732,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T23:42:07.926Z","etag":null,"topics":["links","python","scraper","web","web-crawler"],"latest_commit_sha":null,"homepage":null,"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/odynvolk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-18T21:40:59.000Z","updated_at":"2022-10-15T11:02:27.000Z","dependencies_parsed_at":"2022-08-06T08:01:32.233Z","dependency_job_id":null,"html_url":"https://github.com/odynvolk/web-snake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/odynvolk/web-snake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odynvolk%2Fweb-snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odynvolk%2Fweb-snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odynvolk%2Fweb-snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odynvolk%2Fweb-snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odynvolk","download_url":"https://codeload.github.com/odynvolk/web-snake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odynvolk%2Fweb-snake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["links","python","scraper","web","web-crawler"],"created_at":"2024-11-06T23:13:25.335Z","updated_at":"2026-05-01T19:32:16.915Z","avatar_url":"https://github.com/odynvolk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# web-snake\nA simple web crawler in Python that crawls and returns the urls.\n\n\n# INSTALL\n\nIf you have downloaded the source code:\n\n```bash\npython setup.py install\n```\n\nCreate indexes on both collections in MongoDB.\n\n``` \nuse web_snake\ndb.crawled_urls.createIndex( { \"hash\" : 1 } )\ndb.crawled_domains.createIndex( { \"domain\" : 1 } )\n```\n\n## python\n\n```python\nfrom Queue import Queue\nfrom web_snake.crawler import Crawler\nfrom web_snake.proxies import Proxies\nfrom web_snake.domain_storage import DomainStorage\nfrom web_snake.url_storage import UrlStorage\nfrom web_snake.result_set import ResultSet\n\n\ncrawl_queue = Queue()\ncrawl_queue.put('http://www.reddit.com/')\n\nresult = ResultSet()\n\nproxies = Proxies('../../commondata/proxies.txt')\n\nurls = UrlStorage()\ndomains = DomainStorage()\n\ncrawler = Crawler(crawl_queue=crawl_queue, result=result, domains=domains, urls=urls, max_level=3, proxies=proxies)\ncrawler.start()\ncrawler.join()\n\nprint \"Found {number} links...\".format(number=len(result.all())\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodynvolk%2Fweb-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodynvolk%2Fweb-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodynvolk%2Fweb-snake/lists"}