From dac7ecb2e9cbd8faf4aa92c563d3c79e70f24457 Mon Sep 17 00:00:00 2001 From: thejoin95 Date: Sun, 30 Aug 2020 01:31:13 +0200 Subject: [PATCH] 0.1.1 --- .github/workflows/upload-test.yml | 4 +++- episode.json | 2 +- index.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-test.yml b/.github/workflows/upload-test.yml index f499be76..58bc95be 100644 --- a/.github/workflows/upload-test.yml +++ b/.github/workflows/upload-test.yml @@ -14,8 +14,10 @@ jobs: - uses: actions/setup-node@v1 with: node-version: "12" + - name: Install puppeteer with chromium + run: sudo npm i puppeteer --unsafe-perm=true --allow-root - name: Upload Episode from YouTube To Anchor.Fm - uses: Schrodinger-Hat/youtube-to-anchorfm@v0.1.0 + uses: Schrodinger-Hat/youtube-to-anchorfm@v0.1.1 env: ANCHOR_EMAIL: ${{ secrets.ANCHOR_EMAIL }} ANCHOR_PASSWORD: ${{ secrets.ANCHOR_PASSWORD }} \ No newline at end of file diff --git a/episode.json b/episode.json index a825842b..3535f241 100644 --- a/episode.json +++ b/episode.json @@ -1 +1 @@ -{"id":"LDe1GuD_V7w","title":"FOSS Explorer 5 - L'open source italiano alla riscossa","description":"Quinto episodio della serie FOSS Explorer dedicata al mondo open source italiano.\r\nIn questa puntata mostreremo la top5 trending repository italiane delle scorse due settimane!\r\n\r\nhttps://github.com/notable/notable\r\nhttps://github.com/plorefice/gib\r\nhttps://github.com/alesmit/carburanti-ita-bot\r\nhttps://github.com/NoriSte/ui-testing-best-practices\nhttps://github.com/delvedor/find-my-way\r\n\r\nIndice\n00:00 Intro\n00:34 Notable - Applicazione appunti\n04:57 Gib - gameboy emulator\n08:10 Carburanti ita bot - un altro bot di telegram\n10:34 UI testing best practices - testare interfacce grafiche\n12:48 Cypress-io\n14:52 Find-my-way - Fast HTTP router\n17:42 Tomas della vedova\n19:34 Divagare sui linguaggi - anteprima della live di venerdì\n25:47 Fastify\n27:02 Outro\n\nSeguiteci su:\r\nlinkedln: https://www.linkedin.com/company/schrodinger-hat\r\nFacebook: https://www.facebook.com/schrodingerhat\r\nInstagram: https://www.instagram.com/schrodinger_hat/\r\nTwitter: https://twitter.com/schrodinger_hat\r\n\r\nLive ogni venerdì su:\r\n\r\ntwitch: https://www.twitch.tv/schrodinger_hat\r\nYoutube: https://www.youtube.com/channel/UC1QLLgrGrPmlaFhS0orykCA"} \ No newline at end of file +{"id":"LDe1GuD_V7w"} \ No newline at end of file diff --git a/index.js b/index.js index 981aa516..bb711946 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ const pathToEpisodeJSON = 'episode.json'; const outputFile = 'episode.webm'; console.log('installing dependecies'); -exec('sudo curl -k -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl && sudo npm install puppeteer --unsafe-perm=true --allow-root', (error, stdout, stderr) => { +exec('sudo curl -k -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl', (error, stdout, stderr) => { if (error) { console.log(`error: ${error.message}`); }