Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
thoriqazzikraa committed Sep 3, 2023
1 parent 74c6b8a commit 8533783
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 39 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,59 +6,59 @@

# Endpoints
- textToImage
`scrape.textToImage(text)`
`scrape.ai.textToImage(text)`

- uploadFile
`scrape.uploadFile(buffer)`
`scrape.tools.uploadFile(buffer)`

- enhanceImg
`scrape.enhanceImg(url)`
`scrape.tools.enhanceImg(url)`

- twitterdl2
`scrape.twitterdl2(url)`
`scrape.downloader.twitterdl2(url)`

- igdl2
`scrape.igdl2(url)`
`scrape.downloader.igdl2(url)`

- Threads
`scrape.threads(url)`
`scrape.downloader.threads(url)`

- getCerpenHorror
`scrape.getCerpenHorror()`
`scrape.random.getCerpenHorror()`

- fbdl
`scrape.fbdl(url)`
`scrape.downloader.fbdl(url)`

- twitterdl
`scrape.twitterdl(url)`
`scrape.downloader.twitterdl(url)`

- tiktokdl
`scrape.tiktokdl(url)`
`scrape.downloader.tiktokdl(url)`

- igdl
`scrape.igdl(url)`
`scrape.downloader.igdl(url)`

- cekResi
`scrape.cekResi(kurir, resi)`
`scrape.tools.cekResi(kurir, resi)`

- similarBand
`scrape.similarBand(query)`
`scrape.search.similarBand(query)`

- pindl
`scrape.pindl(url)`
`scrape.downloader.pindl(url)`

- igStalk
`scrape.igStalk(username)`
`scrape.search.igStalk(username)`

- getCerpen
`scrape.getCerpen()`
`scrape.random.getCerpen()`

- filmApikS
`scrape.filmApikS(query)`
`scrape.search.filmApikS(query)`

- filmApikDl
`scrape.filmApikDl(url)`
`scrape.search.filmApikDl(url)`

- otakuDesuSearch
`scrape.otakuDesuSearch(query)`
`scrape.search.otakuDesuSearch(query)`

51 changes: 32 additions & 19 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const axios = require("axios");
const version = require("./package.json").version;
const cheerio = require("cheerio");
const indoDrama = "https://id.indodrama.net/";
const base21 = "https://terbit21.art/";
Expand Down Expand Up @@ -571,23 +572,35 @@ async function filmApikDl(url) {
}

module.exports = {
textToImage,
uploadFile,
enhanceImg,
twitterdl2,
igdl2,
threads,
getCerpenHorror,
fbdl,
twitterdl,
cekResi,
tiktokdl,
similarBand,
pindl,
igStalk,
getCerpen,
filmApikDl,
filmApikS,
otakuDesuSearch,
igdl,
creator: "Thoriq Azzikra",
version: version,
tools: {
uploadFile,
enhanceImg,
cekResi,
},
downloader: {
twitterdl2,
igdl2,
threads,
fbdl,
twitterdl,
tiktokdl,
pindl,
igdl,
},
search: {
similarBand,
igStalk,
filmApikS,
filmApikDl,
otakuDesuSearch,
},
random: {
getCerpen,
getCerpenHorror,
},
ai: {
textToImage,
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scrape-websitee",
"version": "1.0.27",
"version": "1.0.28",
"description": "Website Scraping",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 8533783

Please sign in to comment.