Skip to content

Commit

Permalink
Merge pull request #15 from zYxDevs/update
Browse files Browse the repository at this point in the history
Update:
- adikfilm
- anixlife
- kazefuri
- moenime
- anilyrics (search & scrape)
  • Loading branch information
zYxDevs authored Aug 9, 2023
2 parents a778252 + 133d0a6 commit 22b7b37
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ _There's many useful features in bot but it required big resource, so i make it

**Paid Features:**

- [x] All features on WibuAPI
- [x] LH Translation zipper
- [x] Shinigami zipper
- [x] Worldmanhwas zipper
Expand Down Expand Up @@ -73,11 +74,15 @@ _For nekopoi search only works in [bot](https://t.me/wibuapibot)._
| [Lendrive](https://github.com/zYxDevs/wibu-api-py#lendrive)| link |
| [Anichin](https://github.com/zYxDevs/wibu-api-py#anichin) | link |
| [Donghua](https://github.com/zYxDevs/wibu-api-py#donghua) | link |
| [Anixlife](https://github.com/zYxDevs/wibu-api-py#anixlife) | link |
| [Kazefuri](https://github.com/zYxDevs/wibu-api-py#kazefuri) | link |
| [Kusonime](https://github.com/zYxDevs/wibu-api-py#kusonime) | link |
| [Doronime](https://github.com/zYxDevs/wibu-api-py#doronime) | link |
| [Samehadaku](https://github.com/zYxDevs/wibu-api-py#samehadaku) | link |
| [Kuramanime](https://github.com/zYxDevs/wibu-api-py#kuramanime) | link |
| [Moenime](https://github.com/zYxDevs/wibu-api-py#moenime) | link |
| [Nekopoi](https://github.com/zYxDevs/wibu-api-py#nekopoi) | link |
| [HentaiGuru](https://github.com/zYxDevs/wibu-api-py#hentaiguru) | link |

#### [Lendrive](https://lendrive.web.id)
```python
Expand All @@ -103,6 +108,22 @@ res = api.donghua(url)
print(res)
```

#### [Anixlife](https://anixverse.com)
```python
# works with batch, bd, and single eps link
url = "https://anixverse.com/battle-through-the-heavens-season-5-episode-56-subtitle-indonesia/"
res = api.anixlife(url)
print(res)
```

#### [Kazefuri](https://kazefuri.vip)
```python
# works with batch, bd, and single eps link
url = "https://kazefuri.vip/shrouding-the-heavens-episode-17-subtitle-indonesia/"
res = api.kazefuri(url)
print(res)
```

#### [Kusonime](https://kusonime.com)
```python
# works with batch, bd, and single eps link
Expand Down Expand Up @@ -135,6 +156,14 @@ res = api.kuramanime(url)
print(res)
```

#### [Moenime](https://moenime.com)
```python
# works with batch, bd, and single eps link
url = "https://moenime.com/liar-liar-sub-indo/"
res = api.moenime(url)
print(res)
```

#### [Nekopoi](https://nekopoi.care)
```python
# works with single eps link (hentai, jav)
Expand All @@ -143,6 +172,14 @@ res = api.nekopoi(url)
print(res)
```

#### [HentaiGuru](https://hentai.guru)
```python
# works with single eps link (hentai, jav)
url = "https://hentai.guru/hentai/fushigi-no-kuni-no-succubus/"
res = api.hentaiguru(url)
print(res)
```

### Manga, Doujin, Manhua, Manhwa

| Website | Params |
Expand Down
74 changes: 74 additions & 0 deletions wibuapi/wibuapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,28 @@ def donghua(self, link: str):
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def anixlife(self, link: str):
"""works with batch, bd, and single eps link
https://anixverse.com/battle-through-the-heavens-season-5-episode-56-subtitle-indonesia/
"""
try:
url = f"{self.base_url}/anime/anixlife?link={link}"
response = get(url, timeout=15).json()
return dumps(response, indent=2)
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def kazefuri(self, link: str):
"""works with batch, bd, and single eps link
https://kazefuri.vip/shrouding-the-heavens-episode-17-subtitle-indonesia/
"""
try:
url = f"{self.base_url}/anime/kazefuri?link={link}"
response = get(url, timeout=15).json()
return dumps(response, indent=2)
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def anichin(self, link: str):
"""works with batch, bd, and single eps link
https://anichin.vip/soul-land-season-2-episode-226-252-subtitle-indonesia/
Expand All @@ -54,6 +76,17 @@ def nekopoi(self, link: str):
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def hentaiguru(self, link: str):
"""works with batch, bd, and single eps link
https://hentai.guru/hentai/fushigi-no-kuni-no-succubus/
"""
try:
url = f"{self.base_url}/anime/hentaiguru?link={link}"
response = get(url, timeout=15).json()
return dumps(response, indent=2)
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def kusonime(self, link: str):
"""works with batch, bd, and single eps link
https://kusonime.com/isekai-ojisan-batch-subtitle-indonesia/
Expand Down Expand Up @@ -98,6 +131,17 @@ def kuramanime(self, link: str):
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def moenime(self, link: str):
"""works with batch, bd, and single eps link
https://moenime.com/liar-liar-sub-indo/
"""
try:
url = f"{self.base_url}/anime/moenime?link={link}"
response = get(url, timeout=15).json()
return dumps(response, indent=2)
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def rawkuma(self, link: str):
"""works with list and single chapter
list: https://rawkuma.com/manga/guilty-circle/
Expand Down Expand Up @@ -216,6 +260,17 @@ def wibusubs(self, link: str):
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def adikfilm(self, link: str):
"""work with single post link (may bug sometimes)
https://adikfilm.click/zom-100-bucket-list-of-the-dead-2023/
"""
try:
url = f"{self.base_url}/film/adikfilm?link={link}"
response = get(url, timeout=5).json()
return dumps(response, indent=2)
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def sukidesuost(self, link: str):
try:
url = f"{self.base_url}/music/sukidesuost?link={link}"
Expand Down Expand Up @@ -256,6 +311,25 @@ def sukidesuost_search(self, query: str, page: int):
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def anilyrics_search(self, query: str):
try:
url = f"{self.base_url}/anime/lyrics/search?query={query}"
response = get(url, timeout=15).json()
return dumps(response, indent=2)
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def anilyrics(self, link: str, type: str):
"""
Available lyrics type: romaji, kanji, english
"""
try:
url = f"{self.base_url}/anime/lyrics?link={link}&type={type}"
response = get(url, timeout=15).json()
return dumps(response, indent=2)
except Exception as e:
return f"An error occured report on @YBotsSupport\n\n{e}"

def anipics(self, category: str, tags: str):
"""
Available category: nsfw
Expand Down

0 comments on commit 22b7b37

Please sign in to comment.