This commit is contained in:
hexated 2023-05-05 18:54:17 +07:00
parent 745409e071
commit 3db7cb8b20
2 changed files with 6 additions and 2 deletions

View file

@ -46,7 +46,12 @@ jobs:
SORAHE: ${{ secrets.SORAHE }} SORAHE: ${{ secrets.SORAHE }}
SORAXA: ${{ secrets.SORAXA }} SORAXA: ${{ secrets.SORAXA }}
SORATED: ${{ secrets.SORATED }} SORATED: ${{ secrets.SORATED }}
run: echo $'SORA_API=$SORA_API\nSORAHE=$SORAHE\nSORAXA=$SORAXA\nSORATED=$SORATED' > $GITHUB_WORKSPACE/src/local.properties run: |
cd $GITHUB_WORKSPACE/src
echo SORA_API=$SORA_API >> local.properties
echo SORAHE=$SORAHE >> local.properties
echo SORAXA=$SORAXA >> local.properties
echo SORATED=$SORATED >> local.properties
# run: | # run: |
# cd $GITHUB_WORKSPACE/src # cd $GITHUB_WORKSPACE/src
# echo $'SORA_API=$SORA_API\nSORAHE=$SORAHE\nSORAXA=$SORAXA\nSORATED=$SORATED' > local.properties # echo $'SORA_API=$SORA_API\nSORAHE=$SORAHE\nSORAXA=$SORAXA\nSORATED=$SORATED' > local.properties

View file

@ -131,7 +131,6 @@ class Gomunimeis : MainAPI() {
): Boolean { ): Boolean {
val document = app.get(data).document val document = app.get(data).document
document.select("div.player-container iframe").attr("src").substringAfter("html#") document.select("div.player-container iframe").attr("src").substringAfter("html#")
.let { id -> .let { id ->
app.get("https://gomunimes.com/stream?id=$id") app.get("https://gomunimes.com/stream?id=$id")