@bochilteam/scraper-sosmed
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@bochilteam/scraper-sosmed", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Social media scraper module", | ||
@@ -35,5 +35,7 @@ "main": "lib/cjs/index.js", | ||
}, | ||
"homepage": "https://github.com/BochilTeam/scraper#readme", | ||
"homepage": "https://github.com/BochilTeam/scraper/tree/master/packages/scraper-sosmed#readme", | ||
"files": [ | ||
"./lib/**/*.js" | ||
"lib/**/*.js", | ||
"lib/**/**.d.ts", | ||
"lib/**/package.json" | ||
], | ||
@@ -40,0 +42,0 @@ "dependencies": { |
@@ -7,2 +7,18 @@ # Social media Scraper | ||
npm i @bochilteam/scraper-sosmed | ||
``` | ||
``` | ||
## Usage | ||
Example tiktok video download | ||
```ts | ||
// Import module | ||
import { savefrom, tiktokdl } from '@bochilteam/scraper-sosmed' | ||
const url = 'https://www.tiktok.com/@omagadsus/video/7025456384175017243?is_from_webapp=1&sender_device=pc&web_id6982004129280116226' | ||
// Using tiktokdl | ||
const data = await tiktokdl(url) | ||
console.log(data) // JSON | ||
// Using savefrom | ||
const result = await savefrom(url) | ||
console.log(result) // JSON | ||
``` | ||
[Documentation](https://bochilteam.github.io/scraper/modules/_bochilteam_scraper_sosmed.html) |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
171826
52
4328
23
1