{"id":48552246,"url":"https://github.com/fantox/search-it","last_synced_at":"2026-04-08T09:01:33.006Z","repository":{"id":349440313,"uuid":"1201433787","full_name":"FantoX/search-it","owner":"FantoX","description":" A simple yahoo search scraper","archived":false,"fork":false,"pushed_at":"2026-04-04T17:33:48.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T01:19:58.490Z","etag":null,"topics":["google","google-search","google-search-api","yahoo","yahoo-api","yahoo-search"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/FantoX.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":"2026-04-04T17:11:43.000Z","updated_at":"2026-04-05T10:13:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/FantoX/search-it","commit_stats":null,"previous_names":["fantox/search-it"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/FantoX/search-it","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fsearch-it","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fsearch-it/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fsearch-it/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fsearch-it/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FantoX","download_url":"https://codeload.github.com/FantoX/search-it/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fsearch-it/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31547845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"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":["google","google-search","google-search-api","yahoo","yahoo-api","yahoo-search"],"created_at":"2026-04-08T09:01:32.232Z","updated_at":"2026-04-08T09:01:32.987Z","avatar_url":"https://github.com/FantoX.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e \u003ca href=\"https://github.com/FantoX/search-it\"\u003e@fantox01/search-it\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e The simplest yet most powerful web search scraper\n\u003c/h4\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/@fantox01/search-it\"\u003e\n    \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/d/db/Npm-logo.svg\" width=\"140px\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n# Description:\n\n- A scraper that searches the web and returns structured results including the page title, URL, and description.\n- Supports both ES5 and ES6 JavaScript, plus TypeScript.\n- Zero external runtime dependencies — built with Node's native `https` module and [Cheerio](https://github.com/cheeriojs/cheerio).\n- Scraping a website is not always allowed by the website owners. This project is made for educational purposes only.\n\n\u003cbr\u003e\n\n# Installation:\n\n```\nnpm i @fantox01/search-it\n```\n\n```\nyarn add @fantox01/search-it\n```\n\n\u003cbr\u003e\n\n## Usage:\n\n- For ES5 Javascript\n\n```js\nconst { searchit } = require(\"@fantox01/search-it\");\n\nconst main = async () =\u003e {\n  const data = await searchit(\"cloudflare\", 5);\n  console.log(data);\n};\nmain();\n```\n\n\u003cbr\u003e\n\n- For ES6 Javascript / Typescript\n\n```js\nimport { searchit } from \"@fantox01/search-it\";\n\nconst main = async () =\u003e {\n  const data = await searchit(\"cloudflare\", 5);\n  console.log(data);\n};\nmain();\n```\n\n\u003cbr\u003e\n\n## Output:\n\n- Returns an array of result objects, each with `index`, `page`, `url`, and `desc`.\n\n```js\n[\n  {\n    index: 0,\n    page: 'Connect, protect, and build everywhere | Cloudflare',\n    url: 'https://www.cloudflare.com/',\n    desc: 'Agents are the future of AI, and Cloudflare is the best place to get started...'\n  },\n  {\n    index: 1,\n    page: 'Cloudflare - Wikipedia',\n    url: 'https://en.wikipedia.org/wiki/Cloudflare',\n    desc: 'Cloudflare, Inc. is an American technology company...'\n  },\n  ...\n]\n```\n\n\u003cbr\u003e\n\n# Making of @fantox01/search-it\n\n## How?\n\n- Using [Cheerio](https://github.com/cheeriojs/cheerio) and Node's built-in `https` module\n- **Cheerio -** A fast, flexible, and elegant library for parsing and manipulating HTML and XML.\n\n## Why?\n\n- IDK, scraping is fun to me and also legal up to a limited extend as long as you don't misuse it.\n  \u003cbr /\u003e\n\n# Contributions\n\n- Made by [FantoX](https://github.com/FantoX)\n- I don't have any other contributors in this project yet. Feel free to contribute.\n\n\u003cbr /\u003e\n\n# Support me\n\n- Give this project a 🌟 if you like my project.\n- Please follow me on GitHub to get notified about my upcoming projects.\n\n\u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantox%2Fsearch-it","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffantox%2Fsearch-it","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantox%2Fsearch-it/lists"}