Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hansputera/samehadaku-scraper
Testing Scrape samehadaku.vip
https://github.com/hansputera/samehadaku-scraper
anime cheerio scraping
Last synced: 8 days ago
JSON representation
Testing Scrape samehadaku.vip
- Host: GitHub
- URL: https://github.com/hansputera/samehadaku-scraper
- Owner: hansputera
- Created: 2021-03-27T13:58:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T23:31:16.000Z (over 3 years ago)
- Last Synced: 2024-10-16T19:39:10.416Z (2 months ago)
- Topics: anime, cheerio, scraping
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🛠 Scraper Samehadaku
Mengambil data dari website [samehadaku.vip](https://samehadaku.vip) yaitu website download dan stream anime.
----------------------------------------
## 🔧 Fungsi
| Fungsi | Deskripsi | Hasil |
| :------ | :--------: | ----: |
| `list(letter)` | Fungsi `list`, mendapatkan data daftar anime berdasarkan huruf alphabet. | `{ title: String; url: string; image: String; shortDesc: String; }[];` |
| `batch()` | Fungsi `batch`, mendapatkan data dari halaman batch. | `{ page: number; data: Object[]; }[]` |
| `search(anime)` | Fungsi `search`, mencari anime berdasarkan kata kunci. | `{ page: number, data: Object[]; }[]` |
| `popular()` | Fungsi `popular`, mendapatkan data dari halaman anime yang populer. | `{ name: String; url: String; }[]` |
| `get(url)` | Fungsi `get`, mendapatkan data anime berdasarkan URL website Samehada. | `{ title: String; description: String; image: String; rating: number; genres: { name: String; url: String; }[] }[]` |
| `getGenre(genre)` | Fungsi `getGenre`, mendapatkan data genre berdasarkan genre yang dimasukan dalam argumen. | `{ page: number; data: Object[]; }[]` |## 💉 Instalasi
### Menggunakan NPM
> npm install github.com/hansputera/samehadaku-scraper.git## 🧲 Dependencies
- [Axios](https://npmjs.com/axios)
- [Cheerio](https://cheerio.js.org)## ⚙️ Kontribusi
~~Jika mau, boleh banget~~