{"id":18318346,"url":"https://github.com/varshamohan08/web_scrapper_system","last_synced_at":"2025-04-09T13:53:54.626Z","repository":{"id":249192583,"uuid":"830728050","full_name":"varshamohan08/web_scrapper_system","owner":"varshamohan08","description":"This Django project is designed to save and retrieve details of entities from a specified webpage.","archived":false,"fork":false,"pushed_at":"2024-07-18T23:02:38.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T07:49:46.290Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/varshamohan08.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":"2024-07-18T21:33:40.000Z","updated_at":"2024-07-18T23:02:41.000Z","dependencies_parsed_at":"2024-07-19T06:26:48.634Z","dependency_job_id":null,"html_url":"https://github.com/varshamohan08/web_scrapper_system","commit_stats":null,"previous_names":["varshamohan08/web_scrapper_system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshamohan08%2Fweb_scrapper_system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshamohan08%2Fweb_scrapper_system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshamohan08%2Fweb_scrapper_system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varshamohan08%2Fweb_scrapper_system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varshamohan08","download_url":"https://codeload.github.com/varshamohan08/web_scrapper_system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054218,"owners_count":21039951,"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-11-05T18:09:14.319Z","updated_at":"2025-04-09T13:53:54.606Z","avatar_url":"https://github.com/varshamohan08.png","language":"Python","readme":"# Web Scrapper System\nThis Django project is designed to save and retrieve details of entities from a specified webpage. It uses Django REST framework to create API endpoints and Selenium WebDriver to scrape the webpage for data.\n### Features\n- Save Entity: `/api/save-entity/` accepts a URL as a parameter, uses Selenium to pull down the page, extracts entities from the page, and stores the extracted data in the `EntitiesMaster` table in a MySQL database.\n- Get Entity: `/api/get-entity/` reads the entities from the EntitiesMaster table.\n### How to Run\n#### Prerequisites\n- Python 3.x\n- Django\n- Django REST framework\n- Selenium\n- ChromeDriver\n#### Installation or Setup\nClone the repository:\n```\ngit clone https://github.com/varshamohan08/web_scrapper_system.git\n```\nNavigate to the project directory:\n```\ncd web_scrapper_system\n```\nInstall the required packages:\n```\npip install -r requirements.txt\n```\nSetup the database:\n```\npython manage.py makemigrations\npython manage.py migrate\n```\nRun the development server:\n```\npython manage.py runserver\n```\n#### Endpoints: Example Requests\nNote: All endpoint examples are based on the local server running at http://127.0.0.1 on port 8000.\n- Save Entity\n```\nhttp://127.0.0.1:8000/api/save-entity?webpage_url=\u003cwebpage_url\u003e\n```\n- Get Entity\n```\nhttp://127.0.0.1:8000/api/get-entity\n```\n```\nhttp://127.0.0.1:8000/api/get-entity?id=1\n```\n```\nhttp://127.0.0.1:8000/api/get-entity?webpage_url=\u003cwebpage_url\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarshamohan08%2Fweb_scrapper_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarshamohan08%2Fweb_scrapper_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarshamohan08%2Fweb_scrapper_system/lists"}