diff --git a/.github/workflows/deploy_catalogs.yml b/.github/workflows/deploy_catalogs.yml index d18a8a2..0a42dfd 100644 --- a/.github/workflows/deploy_catalogs.yml +++ b/.github/workflows/deploy_catalogs.yml @@ -21,10 +21,10 @@ jobs: - name: Upload Docker image uses: appleboy/scp-action@master with: - host: ${{ secrets.SCRAPER_SSH_HOST }} - username: ${{ secrets.SCRAPER_SSH_USERNAME }} - port: ${{ secrets.SCRAPER_SSH_PORT }} - key: ${{ secrets.SCRAPER_SSH_KEY }} + host: ${{ secrets.SSH_HOST_3 }} + username: ${{ secrets.SSH_USERNAME }} + port: ${{ secrets.SSH_PORT }} + key: ${{ secrets.SSH_KEY_3 }} source: torrentio_catalogs_latest.tar target: /tmp/docker overwrite: true diff --git a/catalogs/addon.js b/catalogs/addon.js index a07e60e..4ea23aa 100644 --- a/catalogs/addon.js +++ b/catalogs/addon.js @@ -28,9 +28,9 @@ builder.defineCatalogHandler((args) => { const genre = args.extra.genre || 'default'; const catalog = manifest.catalogs.find(c => c.id === args.id); const providers = defaultProviders; - console.log(`Incoming catalog ${args.id} request with genre=${genre} and skip=${offset}`) + console.log(`Incoming catalog ${args.id} request with genre=${genre} and skip=${offset}`); if (!catalog) { - return Promise.reject(`No catalog found for with id: ${args.id}`) + return Promise.reject(`No catalog found for with id: ${args.id}`); } const cacheKey = createCacheKey(catalog.id, providers, genre, offset);