{"id":16802973,"url":"https://github.com/ishankhare07/web-crawler","last_synced_at":"2025-03-17T06:21:49.225Z","repository":{"id":34343213,"uuid":"38264111","full_name":"ishankhare07/web-crawler","owner":"ishankhare07","description":"a scrapper written in python with urging requests and very BeautifulSoup","archived":false,"fork":false,"pushed_at":"2015-06-29T19:14:35.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T15:51:28.020Z","etag":null,"topics":[],"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/ishankhare07.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}},"created_at":"2015-06-29T18:36:49.000Z","updated_at":"2015-11-02T11:21:24.000Z","dependencies_parsed_at":"2022-09-14T04:02:28.906Z","dependency_job_id":null,"html_url":"https://github.com/ishankhare07/web-crawler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishankhare07%2Fweb-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishankhare07%2Fweb-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishankhare07%2Fweb-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishankhare07%2Fweb-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ishankhare07","download_url":"https://codeload.github.com/ishankhare07/web-crawler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982239,"owners_count":20378607,"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","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-13T09:41:12.537Z","updated_at":"2025-03-17T06:21:49.199Z","avatar_url":"https://github.com/ishankhare07.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebCrawler\na webcrawler written in python with urging requests and very BeautifulSoup\n\n## Installing  \n* Clone this repo  \n```bash\n$ git clone git@github.com:ishankhare07/scrapper.git \u0026\u0026 cd scrapper\n```  \n* Create a Virtual Environment, assuming python3  \n```bash\n$ pyvenv venv\n$ source venv/bin/activate\n```\n* Install requirements from pip, (again assuming pip3 for python3)\n```bash\n$ pip3 install -r requirements.txt\n```  \n\n## Using the API\n* Assuming python3 again  \n```python\n\u003e\u003e\u003e from main import Scrapper\n\u003e\u003e\u003e s = Scrapper(\"http://news.ycombinator.com/\",\"heacker_news\")     #url, filename to store data\n\u003e\u003e\u003e s.start_scrapping()\n```\n\n* We can also issue recursion depths and max-urls to scan\n```python\n\u003e\u003e\u003e from main import Scrapper\n\u003e\u003e\u003e s = Scrapper(\"http://news.ycombinator.com/\",            #url\n                \"hacker_news\",                              #filename to store data\n                20,                                         #max-recursion depth\n                30)                                         #max-urls to scan\n\u003e\u003e\u003e s.start_scrapping()\n```\n\n* Viewing the data\n```python\n\u003e\u003e\u003e import shelve\n\u003e\u003e\u003e from pprint import pprint\n\u003e\u003e\u003e db = shelve.open('hacker_news')\n\u003e\u003e\u003e pprint(list(db.items()))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishankhare07%2Fweb-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishankhare07%2Fweb-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishankhare07%2Fweb-crawler/lists"}