{"id":28549230,"url":"https://github.com/vickydev810/imagescraper","last_synced_at":"2025-10-11T12:14:35.895Z","repository":{"id":294866383,"uuid":"988336855","full_name":"VickyDev810/ImageScraper","owner":"VickyDev810","description":"Scrape images from your favourite websites using selenium based image scraping","archived":false,"fork":false,"pushed_at":"2025-05-22T12:04:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T14:11:16.235Z","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/VickyDev810.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,"zenodo":null}},"created_at":"2025-05-22T11:58:12.000Z","updated_at":"2025-05-22T12:04:55.000Z","dependencies_parsed_at":"2025-05-22T13:29:49.769Z","dependency_job_id":"8796dbfa-bb3a-4ac3-97bc-7ab2bc397474","html_url":"https://github.com/VickyDev810/ImageScraper","commit_stats":null,"previous_names":["vickydev810/imagescraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VickyDev810/ImageScraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FImageScraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FImageScraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FImageScraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FImageScraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VickyDev810","download_url":"https://codeload.github.com/VickyDev810/ImageScraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FImageScraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007142,"owners_count":26084246,"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":"2025-06-10T02:08:51.817Z","updated_at":"2025-10-11T12:14:35.890Z","avatar_url":"https://github.com/VickyDev810.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🖼️ Image Scraper with Selenium\n\nA flexible Python script to scrape image URLs from **any website** using Selenium. Just plug in your target URL and CSS selector, and it will fetch image sources with a headless Chrome browser.\n\n---\n\n## 🚀 Features\n\n* Headless Chrome automation\n* Scrapes `\u003cimg\u003e` tags or any image-containing elements\n* Works on **any site** — just update the URL and selector\n* Clean and configurable\n\n---\n\n## 🧰 Requirements\n\n* Python 3.7+\n* Google Chrome\n* ChromeDriver (matching your Chrome version)\n* Selenium\n\n### 📦 Install dependencies\n\n```bash\npip install selenium\n```\n\n### 🧱 Install Chrome \u0026 ChromeDriver\n\nUse [this helper script](https://github.com/macchrome/chromium/releases) or install via package manager:\n\n**Ubuntu/Debian:**\n\n```bash\nsudo apt install -y chromium-browser chromium-chromedriver\n```\n\n**macOS (Homebrew):**\n\n```bash\nbrew install --cask google-chrome\nbrew install chromedriver\n```\n\n\u003e **Note**: Make sure `chromedriver` is in your system's `PATH`. You can verify with:\n\n```bash\nwhich chromedriver\n```\n\n---\n\n## ⚙️ Configuration\n\nUpdate the script with your:\n\n* Target URL\n* Image CSS selector (defaults to standard `\u003cimg\u003e` tags)\n\nExample snippet to modify:\n\n```python\nsearch_url = \"https://example.com/images\"\nimg_elements = driver.find_elements(By.CSS_SELECTOR, \"img\")  # or your custom selector\n```\n\n---\n\n## 🧠 Usage\n\nRun the script:\n\n```bash\npython main.py\n```\n\nIt will prompt you for a URL, open it in a headless browser, and return a list of image URLs.\n\nExample:\n\n```\nEnter page URL: https://example.com/gallery\nImage 1: https://...\nImage 2: https://...\nImage 3: https://...\n```\n\n---\n\n## 🛠 Script Overview\n\n```python\ndef fetch_image_urls(url, selector=\"img\", max_results=3):\n    # Your scraping logic here\n```\n\n### 🔄 Change the selector to customize scraping:\n\n* `.photo-class img` – nested images\n* `div.gallery img` – within specific containers\n* `img.thumbnail` – specific class-based images\n\n---\n\n## 📁 Project Structure\n\n```\n.\n├── main.py      # Main script\n```\n\n---\n\n## ⚠️ Disclaimer\n\n* Be respectful of website terms of service.\n* This is for educational or authorized use only.\n* Some sites may use lazy-loading or dynamic content (use `driver.execute_script()` or scroll automation if needed).\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvickydev810%2Fimagescraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvickydev810%2Fimagescraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvickydev810%2Fimagescraper/lists"}