{"_id":"@bolaxd/skrep","name":"@bolaxd/skrep","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bolaxd/skrep","version":"1.0.0","description":"pembuatan scrape belajarr","main":"app.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"bolaxd"},"license":"MIT","dependencies":{"@bochilteam/scraper":"^4.0.22-alpha.0","axios":"^1.2.2","cheerio":"^1.0.0-rc.12","cookie":"^0.5.0","express":"^4.18.2","form-data":"^4.0.0","got":"^12.5.3","node-fetch":"^3.3.0","pretty":"^2.0.0"},"gitHead":"ff4c1e099717dc78dd481331c3d85f6635c76514","_id":"@bolaxd/skrep@1.0.0","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-gXQTi27aSAnSv+B2KjRa7vkRzLmcMDjCth1z7wmFyn2w07XOOdfaldKgxzx4suLsbC54/zElQzQ/7FqW+6R25g==","shasum":"fc46d1e4fb86f058b476985bd9125b8cbcdbfa2c","tarball":"https://registry.npmjs.org/@bolaxd/skrep/-/skrep-1.0.0.tgz","fileCount":7,"unpackedSize":274911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/VwzvfxhKXjfxPg2TrXq7V4e4hoz1/BHt9jk1OKQUAAiAkhPV6NdZWjPzoegZLZ6kkfrMtD8Ri6p7m/oA8tKWVCw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5Jk9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0mQ//SrLftOKeJU0rSda74tc4IhQh3734YwDWP0E4930hdDKy5vzG\r\nU+zKJwX54ufEjX5thQkYo/2bayFGLz96YWg9OdplED3/4S/3wpc3C/5dT+r6\r\nDTfnE2os2liszGGMvRE0QcSBkz8TVLGARrfsJJy3IOKuc1OWnq6cfndaWKDr\r\nl343rvEci/sRwRSjtk3heTaYQ3bNV9S9vsl5jzZ03MRbrZAn8/UjMaFIo9aH\r\nQt2opx/p499aN7GWohVlG4uvEpgTzrmT5Dobn18vdHOVuFhQ5di7Ezo94qJ1\r\nQyATvyCpE4l9J2RkPpVF+p3udctkb1uabWWLCv4GWGtC/m58xmAzrsBhLGws\r\nujfSqdteS7cUMy1xgyFc6nJ/mK7owXPTVBRJeOOPHpV0Qo07EKvdVkU/Y3p+\r\nPohCpsVWFpJI+R64rISvdDNKXlO/0FskQZI7B3YyEKNy9ggMKx/ULdMc3R3a\r\npTjRspkYQFQHH8aPbcHdYzN3gE1TuwWye6XZ6v87m0ZnviJ43/CZ+rXpkMca\r\na9PW7qx4OugIXrG1+oA8Q0WPElO54jzsdYynENY0oSVIZ5NsCFF7VaaMfakz\r\nTvzZUXTIoPr18cIqlH2EyPQWpcKr4t+i3A5LKuY/JYgQppe7OB6u7pohceLh\r\n72iuUk7EJnJMjdCeHqpGhR6LAGHkts8vLzk=\r\n=cmob\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bolaxd","email":"iqbalsheila619@gmail.com"},"directories":{},"maintainers":[{"name":"bolaxd","email":"iqbalsheila619@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/skrep_1.0.0_1675925821159_0.9825877668784824"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-09T06:57:01.109Z","1.0.0":"2023-02-09T06:57:01.375Z","modified":"2023-02-09T06:57:01.595Z"},"maintainers":[{"name":"bolaxd","email":"iqbalsheila619@gmail.com"}],"description":"pembuatan scrape belajarr","keywords":[],"author":{"name":"bolaxd"},"license":"MIT","readme":"<p align=\"center\">\n<img src=\"https://github.com/bolaxd.png?size=500\" width=\"128\" height=\"128\"/>\n</p>\n<p align=\"center\">\n<a href=\"#\"><img title=\"uu\" src=\"https://img.shields.io/badge/Search%20lagu%20barat-green?colorA=%23ff0000&colorB=C13584&style=for-the-badge\"></a>\n</p>\n<p align=\"center\">\n<a href=\"https://github.com/bolaxd\"><img title=\"Autor\" src=\"https://img.shields.io/badge/Author-bolaxd-5851DB.svg?style=for-the-badge&logo=github\"></a>\n</p>\n</p>\n<p align=\"center\">\n<a href=\"https://hits.seeyoufarm.com\"><img src=\"https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fbolaxd%2Fsearch-lirik.git&count_bg=%23833AB4&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=true\"/></a>\n<a href=\"#\"><img title=\"Version\" src=\"https://img.shields.io/github/package-json/v/bolaxd/search-lirik?color=%23833AB4&logo=github&style=flat-square\"></a>\n<a href=\"https://github.com/bolaxd/search-lirik/followers/\"><img title=\"Followers\" src=\"https://img.shields.io/github/followers/bolaxd?color=%23833AB4&logo=github&style=flat-square\"></a>\n<a href=\"https://github.com/bolaxd/search-lirik/stargazers/\"><img title=\"Stars\" src=\"https://img.shields.io/github/stars/bolaxd/search-lirik?color=%23833AB4&logo=github&style=flat-square\"></a>\n<a href=\"https://github.com/bolaxd/search-lirik/watchers\"><img title=\"Watching\" src=\"https://img.shields.io/github/watchers/bolaxd/search-lirik?color=%23833AB4&logo=github&style=flat-square\"></a>\n</p>\n\n### Bagaimana cara menggunakan nya?\n\nSalin Kode yang berada pada file ber extensi ```app.mjs``` kedalam file anda\ninstall lah module yang dibutuhkan disitu\n```js\nimport fetch from \"node-fetch\";\nimport cheerio from \"cheerio\";\nimport pretty from \"pretty\";\n```\n```cmd \n$ npm install fetch cheerio pretty --save\n```\nsetelah anda selesai menginstallnya, anda cukup memanggil function nya! \n\n```js\n(async () => {\n\tconst result = await laguBaratSearch('maroon');\n\tconsole.log(result)\n})();\n```\nJika berhasil? maka anda akan melihat result seperti dibawah ini \n```cmd \n[\n\t{\n\t\ttitle: \"Maroon 5 - Can't Stop\",\n\t\turlHtml: 'https://www.lirikterjemahan.id/2014/11/maroon-5-cant-stop.html',\n\t\tlabel: '\\nLirik Lagu Barat\\n',\n\t\tsnippet: '\\n' +\n\t\t\"Lirik lagu dan terjemahan Can't Stop dari Maroon 5 dirilis pada 16 Mei 2007 dalam alb…\\n\"\n\t},\n\t{\n\t\ttitle: 'Maroon 5 - Daylight',\n\t\turlHtml: 'https://www.lirikterjemahan.id/2015/05/maroon-5-daylight.html',\n\t\tlabel: '\\nLirik Lagu Barat\\n',\n\t\tsnippet: '\\n' +\n\t\t'Lirik lagu dan terjemahan Daylight dari Maroon 5 dirilis pada 27 November 2012 dalam albu…\\n'\n  }\n]\n```\n### Cara mendapatkan lirik dari searching... \n\nTidak sampe disitu, anda juga saya tutori cara mendapatkan liriknya, caranya seperti dibawah \n```js \n(async () => {\n\tconst result = await laguBaratGet(url)\n\tconsole.log(result)\n})();\n```\nanda bisa mendapatkan url tersebut dari result search dengan property ```urlHtml```\n\nMasih bingung? sini join gc :v\n\n[![Grup WhatsApp](https://img.shields.io/badge/WhatsApp-25D366?style=for-the-badge&logo=whatsapp&logoColor=white)](https://chat.whatsapp.com/Joejcs0ebWl5Kqn97YEl4z)","readmeFilename":"README.md"}