
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
d-scrape adalah sebuah package yang digunakan untuk melakukan web scraping dengan mudah. Dengan menggunakan d-scrape, Anda dapat mengambil data dari berbagai website dan media sosial seperti TikTok, Instagram, Twitter, dan lain-lain.
Untuk menginstal d-scrape, Anda dapat menggunakan package manager npm dengan menjalankan perintah berikut:
$ npm install d-scrape
$ npm i d-scrape
Untuk menghapus instalasi d-scrape, Anda dapat menggunakan package manager npm dengan menjalankan perintah berikut:
$ npm uninstall d-scrape
Berikut adalah contoh penggunaan d-scrape untuk melakukan pencarian TikTok berdasarkan username:
const d = require("d-scrape")
(async () => {
const result = await d.search.tiktoks('superdanzyyy')
console.log(result)
})()
Pada contoh di atas, kita mengimpor package d-scrape dengan menggunakan require("d-scrape")
. Kemudian, kita menggunakan fungsi d.search.tiktoks()
untuk mencari TikTok berdasarkan username 'superdanzyyy'. Hasil pencarian akan disimpan dalam variabel result
dan kemudian dicetak ke konsol.
Untuk informasi lebih lanjut atau pertanyaan, Anda dapat menghubungi kami melalui sosial media berikut:
FAQs
The library scraper for WhatsApp bot or Restfull API's
The npm package d-scrape receives a total of 565 weekly downloads. As such, d-scrape popularity was classified as not popular.
We found that d-scrape demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.