{"id":39587320,"url":"https://github.com/al3rez/bing-scraper","last_synced_at":"2026-01-18T07:38:41.395Z","repository":{"id":318705214,"uuid":"1063088919","full_name":"al3rez/bing-scraper","owner":"al3rez","description":"Upload a CSV file with keywords and it will scrape Bing search for you!","archived":false,"fork":false,"pushed_at":"2025-10-08T16:25:59.000Z","size":738,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-09T10:39:16.604Z","etag":null,"topics":["bing","scraper"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/al3rez.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-24T06:39:10.000Z","updated_at":"2025-10-06T15:37:02.000Z","dependencies_parsed_at":"2025-10-09T10:39:23.564Z","dependency_job_id":"c40fc55b-5ced-4d45-9994-4ef7680da002","html_url":"https://github.com/al3rez/bing-scraper","commit_stats":null,"previous_names":["al3rez/bing-scraper"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/al3rez/bing-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Fbing-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Fbing-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Fbing-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Fbing-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/al3rez","download_url":"https://codeload.github.com/al3rez/bing-scraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Fbing-scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28533171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["bing","scraper"],"created_at":"2026-01-18T07:38:41.107Z","updated_at":"2026-01-18T07:38:41.366Z","avatar_url":"https://github.com/al3rez.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bing Scraper\n\nRails app that scrapes Bing search results at scale. Upload CSV of keywords, get search data back.\n\n![App Preview](public/preview.png)\n\n## Features\n\n- CSV upload with 1-100 keywords\n- Scrapes Bing for each keyword (ads count, links, full HTML)\n- Real-time processing updates\n- PostgreSQL storage for analysis\n\n## Tech Stack\n\n**Rails 8** with Devise authentication, Sidekiq + Redis for background jobs, TailwindCSS for styling, PostgreSQL database, and Selenium + Chrome for scraping.\n\n## How it Works\n\n```mermaid\nflowchart TD\n    A[User uploads CSV] --\u003e B[KeywordIngestionService parses CSV]\n    B --\u003e C[Creates KeywordUpload record]\n    C --\u003e D[ProcessKeywordUploadJob enqueued]\n    D --\u003e E[Job processes each keyword]\n\n    E --\u003e F[BingKeywordScraper.call]\n    F --\u003e G[Creates Ferrum browser page]\n    G --\u003e H[Navigate to Bing search]\n    H --\u003e I[Wait for results to load]\n    I --\u003e J[Simulate human behavior]\n    J --\u003e K[Extract organic links]\n    K --\u003e L[Extract ads]\n    L --\u003e M{More pages needed?}\n\n    M --\u003e|Yes| N[Navigate to next page]\n    N --\u003e J\n    M --\u003e|No| O[Return results]\n\n    O --\u003e P[Update keyword status]\n    P --\u003e Q[Store HTML capture]\n    Q --\u003e R[Real-time UI updates]\n\n    style F fill:#e1f5fe\n    style G fill:#f3e5f5\n    style J fill:#fff3e0\n    style K fill:#e8f5e8\n    style L fill:#fff8e1\n```\n\n## Running it locally\n\n```bash\ngit clone [repo]\ncd bing-scraper\nbundle install\n# this will setup postgresql and redis, if you have them on your local machine no need for this\ndocker compose up -d\nrails db:create db:migrate\n./bin/dev\n```\n\nGo to `http://localhost:3000`\n\n## Deploying to Heroku\n\nThis is running on Heroku with:\n- 2 dynos (web + worker)\n- Heroku Postgres\n- Heroku Redis (they call it Key-Value Store now)\n- Chrome buildpack for headless scraping\n\n### Quick deploy\n\n```bash\nheroku create your-app\nheroku buildpacks:add heroku/ruby\nheroku buildpacks:add heroku-community/chrome-for-testing\nheroku addons:create heroku-postgresql:essential-0\nheroku addons:create heroku-redis:mini\ngit push heroku main\nheroku run rails db:migrate\nheroku ps:scale worker=1\n```\n\nDon't forget to set your master key:\n```bash\nheroku config:set RAILS_MASTER_KEY=$(cat config/master.key)\nheroku config:set BROWSER_PATH=$(which chrome)\n```\n\n## Usage\n\n1. Sign up / sign in\n2. Upload CSV (one keyword per line, optional \"keyword\" header)\n3. Watch keywords process in real-time\n4. Click keywords to see full results\n5. Download HTML captures if needed\n\n## Testing\n\n```bash\nbundle exec rspec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal3rez%2Fbing-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fal3rez%2Fbing-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal3rez%2Fbing-scraper/lists"}