{"id":25076571,"url":"https://github.com/muhammedzohaib/drugscraper","last_synced_at":"2025-07-21T00:35:04.327Z","repository":{"id":247927867,"uuid":"827260031","full_name":"MuhammedZohaib/DrugScraper","owner":"MuhammedZohaib","description":"A simple scrapy spider to scrape https://www.drugs.com","archived":false,"fork":false,"pushed_at":"2024-07-11T10:03:43.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T14:44:09.527Z","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/MuhammedZohaib.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-11T09:53:38.000Z","updated_at":"2024-07-11T10:03:45.000Z","dependencies_parsed_at":"2024-07-11T11:25:07.652Z","dependency_job_id":"fddb32f0-9a0e-4f7b-b3aa-ed65681b8499","html_url":"https://github.com/MuhammedZohaib/DrugScraper","commit_stats":null,"previous_names":["muhammedzohaib/drugscraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MuhammedZohaib/DrugScraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedZohaib%2FDrugScraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedZohaib%2FDrugScraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedZohaib%2FDrugScraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedZohaib%2FDrugScraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuhammedZohaib","download_url":"https://codeload.github.com/MuhammedZohaib/DrugScraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedZohaib%2FDrugScraper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266221468,"owners_count":23894966,"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":"2025-02-07T01:46:39.591Z","updated_at":"2025-07-21T00:35:04.304Z","avatar_url":"https://github.com/MuhammedZohaib.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DrugScraper\n\nThis Scrapy spider (`DrugsspiderSpider`) scrapes drug information from `www.drugs.com`. It extracts drug names, generic names, drug classes, and URLs directly from the website.\n\n## Spider Details\n\n- **Name:** `DrugsspiderSpider`\n- **Allowed Domains:** `www.drugs.com`\n\n## Fields Extracted\n\n- **Name:** Drug name.\n- **Generic Name:** Generic name of the drug.\n- **Drug Class:** Class of the drug.\n- **URL:** URL of the drug page.\n\n## Usage\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/MuhammedZohaib/DrugScraper.git\n   cd DrugScraper\n   ```\n\n2. Run the spider:\n\n   ```bash\n   scrapy crawl drugsSpider\n   ```\n\n3. Output: Drug information (name, generic name, drug class, URL) in JSON and CSV format.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammedzohaib%2Fdrugscraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhammedzohaib%2Fdrugscraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammedzohaib%2Fdrugscraper/lists"}