{"_id":"@denzy-official/youtube_scraper","_rev":"2-3a500f2630b911819d73f352e4cdc9cf","name":"@denzy-official/youtube_scraper","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@denzy-official/youtube_scraper","version":"1.0.0","keywords":["youtube","scraper","downloader","audio","y2mate","ytmp3","ytmp4","ytdl-core","video"],"author":{"name":"AbcZet"},"license":"MIT","_id":"@denzy-official/youtube_scraper@1.0.0","maintainers":[{"name":"denzy-official","email":"github.denzy@gmail.com"}],"dist":{"shasum":"6a4aae89e7658911539d19bf2fe5d575a80e4423","tarball":"https://registry.npmjs.org/@denzy-official/youtube_scraper/-/youtube_scraper-1.0.0.tgz","fileCount":3,"integrity":"sha512-YVIMu/a+bFBsVkrJgLhuX+ZKmo5AsT3iPaTAlqOTB1hKUOnkJq/TmDPrafp2F2tV/RfbfsL+SHSd3vOkYNO/8Q==","signatures":[{"sig":"MEYCIQCuyzlE+YemteXC9Ts6O9ODuTcnwY2LNhnRAiai0LaoPgIhAMPhUihMlJMFTyOA9noGIR+RF+kPJ2YCcXPpF/1Db/aq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19017},"main":"index.js","scripts":{"test":"echo \"No tests specified\" && exit 0"},"_npmUser":{"name":"denzy-official","email":"github.denzy@gmail.com"},"_npmVersion":"10.9.3","description":"A simple YouTube video downloader for audio and video formats with resolusi and quality.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"axios":"^0.27.2","yt-search":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/youtube_scraper_1.0.0_1764156974226_0.11220645066244161","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@denzy-official/youtube_scraper","version":"1.0.1","description":"Lightweight YouTube search and downloader toolkit (MP3 & MP4) with automatic ID resolver.","main":"index.js","type":"commonjs","scripts":{"start":"node index.js","test":"echo \"No tests specified\" && exit 0"},"keywords":["youtube","youtube-downloader","youtube-scraper","ytmp3","ytmp4","mp3-downloader","mp4-downloader","youtube-search","nodejs"],"author":{"name":"Denzy Official"},"license":"MIT","engines":{"node":">=14"},"repository":{"type":"git","url":"git+https://github.com/denzy-official/youtube_scraper.git"},"bugs":{"url":"https://github.com/denzy-official/youtube_scraper/issues"},"homepage":"https://github.com/denzy-official/youtube_scraper#readme","dependencies":{"axios":"^1.6.0","yt-search":"^2.10.0"},"_id":"@denzy-official/youtube_scraper@1.0.1","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-OYPiKR8eUg2NGHpaRWJtAlbQ0oALMChpxDK6bUk0SxIKhC7UKaDtXHzmauiqbvPsBV4g7yE1/b+jlumhqLOXLg==","shasum":"06f8a966fdbef536e50941139a924aa998ff79c2","tarball":"https://registry.npmjs.org/@denzy-official/youtube_scraper/-/youtube_scraper-1.0.1.tgz","fileCount":3,"unpackedSize":8006,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDdDnuPLp8attzNO+qPPYjK4My/UNyTno+riDozLoZgVAiEArqdojCAOYxX3PTDl27RGKcsp8HTI7qroURq9j1pJsCQ="}]},"_npmUser":{"name":"denzy-official","email":"github.denzy@gmail.com"},"directories":{},"maintainers":[{"name":"denzy-official","email":"github.denzy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/youtube_scraper_1.0.1_1771756013231_0.2707618347415839"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-26T11:36:14.083Z","modified":"2026-02-22T10:26:53.497Z","1.0.0":"2025-11-26T11:36:14.430Z","1.0.1":"2026-02-22T10:26:53.374Z"},"author":{"name":"Denzy Official"},"license":"MIT","keywords":["youtube","youtube-downloader","youtube-scraper","ytmp3","ytmp4","mp3-downloader","mp4-downloader","youtube-search","nodejs"],"description":"Lightweight YouTube search and downloader toolkit (MP3 & MP4) with automatic ID resolver.","maintainers":[{"name":"denzy-official","email":"github.denzy@gmail.com"}],"readme":"# 🎬 @denzy-official/youtube_scraper v1.0.1\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/npm/v/@denzy-official/youtube_scraper?color=red&style=for-the-badge\">\n  <img src=\"https://img.shields.io/npm/dt/@denzy-official/youtube_scraper?color=blue&style=for-the-badge\">\n  <img src=\"https://img.shields.io/badge/Node.js-14+-green?style=for-the-badge\">\n</p>\n\nLightweight YouTube search & downloader toolkit for Node.js 🚀  \nFast. Clean. No API key required.\n\n---\n\n# ✨ Features\n\n- 🔎 Search YouTube videos\n- 🎵 Download MP3\n- 🎥 Download MP4 (auto highest quality)\n- 🧠 Auto resolve from:\n  - YouTube URL\n  - Video ID\n  - Search query\n- 📦 Clean JSON output\n- 🛡️ No API key needed\n\n---\n\n# 🚀 Installation\n\n```bash\nnpm install @denzy-official/youtube_scraper\n```\n\n---\n\n# ⚡ Quick Start\n\n```js\nconst yt = require('@denzy-official/youtube_scraper')\n\n// MP3\nconst mp3 = await yt.ytmp3('bersenja gurau')\nconsole.log(mp3)\n\n// MP4\nconst mp4 = await yt.ytmp4('https://youtu.be/jmvX6XyvCy0')\nconsole.log(mp4)\n\n// Search\nconst search = await yt.search('lofi hip hop')\nconsole.log(search)\n```\n\n---\n\n# 📚 API Reference\n\n---\n\n## 🎵 `.ytmp3(input)`\n\nDownload YouTube audio as MP3.\n\n```js\nconst result = await yt.ytmp3('https://youtu.be/jmvX6XyvCy0')\n```\n\n### ✅ Example Response\n\n```json\n{\n  \"status\": true,\n  \"creator\": \"@denzy-official/youtube_scraper\",\n  \"metadata\": {\n    \"title\": \"Hindia - Rumah ke Rumah\",\n    \"url\": \"https://youtube.com/watch?v=jmvX6XyvCy0\",\n    \"timestamp\": \"4:02\",\n    \"views\": 12345678,\n    \"author\": {\n      \"name\": \"Hindia\"\n    }\n  },\n  \"download\": {\n    \"type\": \"mp3\",\n    \"title\": \"Hindia - Rumah ke Rumah\",\n    \"filesize\": 6763939,\n    \"duration\": 242,\n    \"url\": \"https://cdn.example.com/file.mp3\",\n    \"filename\": \"Hindia - Rumah ke Rumah.mp3\"\n  }\n}\n```\n\n---\n\n## 🎥 `.ytmp4(input)`\n\nDownload YouTube video as MP4.\n\n```js\nconst result = await yt.ytmp4('bersenja gurau')\n```\n\n### ✅ Example Response\n\n```json\n{\n  \"status\": true,\n  \"creator\": \"@denzy-official/youtube_scraper\",\n  \"metadata\": {\n    \"title\": \"Hindia - Rumah ke Rumah\",\n    \"url\": \"https://youtube.com/watch?v=jmvX6XyvCy0\"\n  },\n  \"download\": {\n    \"type\": \"mp4\",\n    \"title\": \"Hindia - Rumah ke Rumah\",\n    \"quality\": \"720p\",\n    \"url\": \"https://cdn.example.com/file.mp4\",\n    \"filename\": \"Hindia - Rumah ke Rumah.mp4\"\n  }\n}\n```\n\n---\n\n## 🔎 `.search(query)`\n\nSearch YouTube videos.\n\n```js\nconst result = await yt.search('lofi hip hop')\n```\n\n### ✅ Example Response\n\n```json\n{\n  \"status\": true,\n  \"creator\": \"@denzy-official/youtube_scraper\",\n  \"results\": [\n    {\n      \"title\": \"lofi hip hop radio\",\n      \"url\": \"https://youtube.com/watch?v=xxxx\",\n      \"duration\": \"LIVE\",\n      \"views\": 9876543,\n      \"author\": \"Lofi Girl\",\n      \"thumbnail\": \"https://i.ytimg.com/vi/xxxx/hqdefault.jpg\"\n    }\n  ]\n}\n```\n\n---\n\n# 📦 Full Example Usage\n\n```js\nconst yt = require('@denzy-official/youtube_scraper')\n\nasync function main() {\n  const mp3 = await yt.ytmp3('alan walker faded')\n  console.log(mp3.download.url)\n\n  const mp4 = await yt.ytmp4('https://youtu.be/60ItHLz5WEA')\n  console.log(mp4.download.url)\n\n  const search = await yt.search('anime opening')\n  console.log(search.results[0])\n}\n\nmain()\n```\n\n---\n\n# 🛠 Requirements\n\n- Node.js v14+\n- Internet connection\n\n---\n\n# ⚠ Disclaimer\n\nThis module is intended for **educational purposes only**.  \nDownloading copyrighted content without permission may violate YouTube's Terms of Service.\n\n---\n\n# ⭐ Support\n\nIf this project helps you:\n\n🔁 Share with other developers  \n\n---\n\nMade with ❤️ by **@denzy-official**\n","readmeFilename":"README.md","homepage":"https://github.com/denzy-official/youtube_scraper#readme","repository":{"type":"git","url":"git+https://github.com/denzy-official/youtube_scraper.git"},"bugs":{"url":"https://github.com/denzy-official/youtube_scraper/issues"}}