diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 73d6691b..e9f7d324 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,12 @@ jobs: SORAHE: ${{ secrets.SORAHE }} SORAXA: ${{ secrets.SORAXA }} 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: | # cd $GITHUB_WORKSPACE/src # echo $'SORA_API=$SORA_API\nSORAHE=$SORAHE\nSORAXA=$SORAXA\nSORATED=$SORATED' > local.properties diff --git a/Gomunimeis/src/main/kotlin/com/hexated/Gomunimeis.kt b/Gomunimeis/src/main/kotlin/com/hexated/Gomunimeis.kt index cd53f808..8f8b6533 100644 --- a/Gomunimeis/src/main/kotlin/com/hexated/Gomunimeis.kt +++ b/Gomunimeis/src/main/kotlin/com/hexated/Gomunimeis.kt @@ -131,7 +131,6 @@ class Gomunimeis : MainAPI() { ): Boolean { val document = app.get(data).document - document.select("div.player-container iframe").attr("src").substringAfter("html#") .let { id -> app.get("https://gomunimes.com/stream?id=$id")