{"id":23828540,"url":"https://github.com/umutkayash/ai-scraper","last_synced_at":"2026-04-09T01:31:37.735Z","repository":{"id":270527875,"uuid":"910658848","full_name":"umutkayash/AI-Scraper","owner":"umutkayash","description":"AI Scraper","archived":false,"fork":false,"pushed_at":"2025-01-01T00:52:19.000Z","size":9312,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T02:26:45.374Z","etag":null,"topics":["beautifulsoup4","html5lib","langchain","langchain-ollama","lxml","ollama","ollama-app","python","python-dotenv","python3","selenium","selenium-webdriver","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umutkayash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-01T00:48:44.000Z","updated_at":"2025-01-01T22:01:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ea19482-e2a2-4a43-969d-e4715f298244","html_url":"https://github.com/umutkayash/AI-Scraper","commit_stats":null,"previous_names":["umutkayash/ai-scraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/umutkayash/AI-Scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutkayash%2FAI-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutkayash%2FAI-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutkayash%2FAI-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutkayash%2FAI-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umutkayash","download_url":"https://codeload.github.com/umutkayash/AI-Scraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutkayash%2FAI-Scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005550,"owners_count":26083918,"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-10T02:00:06.843Z","response_time":62,"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":["beautifulsoup4","html5lib","langchain","langchain-ollama","lxml","ollama","ollama-app","python","python-dotenv","python3","selenium","selenium-webdriver","streamlit"],"created_at":"2025-01-02T13:17:46.300Z","updated_at":"2025-10-10T23:11:07.957Z","avatar_url":"https://github.com/umutkayash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# AI Scraper Project\n\nWelcome to the AI Scraper project repository! This project uses Python, Selenium, BeautifulSoup, and the Ollama language model to scrape, parse, and extract information from web pages.\n\n## Project Overview\n\nThe AI Scraper is designed to handle complex web scraping tasks including captcha solving, HTML parsing, and structured data extraction using advanced AI techniques.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n- Python 3.8 or higher\n- pip (Python package installer)\n\n## Installation\n\n1. **Clone the Repository:**\n   ```bash\n   git clone https://github.com/umutkayash/AI-Scraper.git\n   cd AI-Scraper\n   ```\n\n2. **Set Up a Virtual Environment (recommended):**\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\u0007ctivate`\n   ```\n\n3. **Install Dependencies:**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Configuration\n\n- You will need to set environment variables for the Selenium WebDriver URL. You can do this by creating a `.env` file in the project root with the following content:\n  ```\n  WEBDRIVER_URL=\"your_webdriver_url_here\"\n  ```\n\n## Usage\n\nTo run the scraper:\n1. **Activate your virtual environment if not already activated:**\n   ```bash\n   source venv/bin/activate  # On Windows use `venv\\Scripts\u0007ctivate`\n   ```\n\n2. **Run the Scraper:**\n   ```bash\n   python main.py\n   ```\n   Replace `main.py` with the script you wish to run.\n\n## How It Works\n\nThe AI Scraper performs the following steps:\n- Connects to a web page using Selenium.\n- Handles any captchas using configured settings.\n- Extracts HTML content and parses it using BeautifulSoup.\n- Segments the HTML content if necessary.\n- Uses the Ollama model to extract specific information based on user-defined criteria.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and create a pull request with your changes.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutkayash%2Fai-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumutkayash%2Fai-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutkayash%2Fai-scraper/lists"}