-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- sync (WibuAPI) and async (AsyncWibuAPI) - add pypi and npm package search - add novel (novelupdates search, noveltoon search, chapter list, and read chapter) - add chatbot ai (bard and gpt) - some bug fix telegram bot -> https://wibuapibot.t.me support chat -> https://ybotssupport.t.me updates channel -> https://spreadnetworks.t.me
- Loading branch information
Showing
6 changed files
with
720 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Notify on Telegram | ||
|
||
on: | ||
fork: | ||
push: | ||
release: | ||
issue_comment: | ||
types: created | ||
watch: | ||
types: started | ||
pull_request_review_comment: | ||
types: created | ||
pull_request: | ||
types: [opened, closed, reopened] | ||
issues: | ||
types: [opened, pinned, closed, reopened] | ||
jobs: | ||
notify: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Notify the commit on Telegram. | ||
uses: EverythingSuckz/github-telegram-notify@main | ||
with: | ||
bot_token: '${{ secrets.BOT_TOKEN }}' | ||
chat_id: '${{ secrets.CHAT_ID }}' | ||
topic_id: '${{ secrets.TOPIC_ID }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
|
||
from .wibuapi import WibuAPI | ||
from .zyxdevs import Etc | ||
from .wibuapi_async import AsyncWibuAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# (c) 2022-2023 Yoga Pranata a.k.a zYxDevs | ||
# This file contains utilities for wibuapi. | ||
|
||
import aiohttp | ||
|
||
|
||
async def getwibu(url: str, timeout: int): | ||
async with aiohttp.ClientSession() as session: | ||
async with session.get(url, timeout=timeout) as response: | ||
response.raise_for_status() | ||
return await response.json() |
Oops, something went wrong.