You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

n8n-nodes-youtube-transcript

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-youtube-transcript - npm Package Compare versions

Comparing version

to
0.9.0

14

dist/nodes/YoutubeTranscriptNode/YoutubeTranscriptNode.node.js

@@ -42,2 +42,9 @@ "use strict";

headless: true,
args: [
'--ignore-certificate-errors',
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-accelerated-2d-canvas',
'--disable-gpu'
],
ignoreDefaultArgs: ['--enable-automation'],

@@ -60,2 +67,9 @@ });

headless: true,
args: [
'--ignore-certificate-errors',
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-accelerated-2d-canvas',
'--disable-gpu'
],
ignoreDefaultArgs: ['--enable-automation'],

@@ -62,0 +76,0 @@ });

2

dist/package.json
{
"name": "n8n-nodes-youtube-transcript",
"version": "0.8.2",
"version": "0.9.0",
"description": "download transcript of youtube videos in your n8n workflows",

@@ -5,0 +5,0 @@ "keywords": [

{
"name": "n8n-nodes-youtube-transcript",
"version": "0.8.2",
"version": "0.9.0",
"description": "download transcript of youtube videos in your n8n workflows",

@@ -5,0 +5,0 @@ "keywords": [

@@ -43,4 +43,57 @@ # n8n-nodes-youtube-transcript

On n8n (pristine) self hosted docker image, run the following:
```bash
docker exec -it -u root n8n /bin/sh -c "apk update && apk add --no-cache nmap && echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache udev chromium harfbuzz freetype ttf-freefont nss"
```
Set the following environment variables:
```bash
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
```
For more detailed instructions and troubleshooting, refer to the official [Puppeteer documentation](https://pptr.dev/).
### Example Docker Usage
A sample `Dockerfile` is provided in the `examples/docker` directory. This Dockerfile sets up a container with **Puppeteer** and **Chromium** pre-installed, allowing you to run **n8n-nodes-youtube-transcript and other nodes that require Puppeteer**.
**Note**: The `n8n-nodes-youtube-transcript` plugin itself is not installed within the Docker container by default; you’ll need to install it manually.
#### Building and running the Docker Image
To build the Docker image, navigate to the `examples/docker` directory and run the following command:
**Build the Docker Image**
```bash
cd examples/docker
docker build -t n8n-with-puppeteer .
```
**Run the Docker Image**
```bash
docker run -d -p 5678:5678 -v ./data/n8n:/home/node/.n8n n8n-with-puppeteer
```
This command does the following:
-d: Runs the container in the background as a daemon.
-p 5678:5678: Maps port 5678 on the container to port 5678 on your host machine (localhost).
-v ./data/n8n:/home/node/.n8n: Shares (or "mounts") the local directory ./data/n8n with the container's /home/node/.n8n directory.
#### Docker Compose Setup
For convenience, a `docker-compose.yml` file is provided in the `examples/docker-compose` directory. This Compose setup uses the custom Dockerfile from this project and sets up a **PostgreSQL** database as the backend for n8n. This makes it easy to deploy both services together with one command.
### Using Docker Compose
1. **Navigate to the directory** containing the `docker-compose.yml` file:
```bash
cd examples/docker-compose
docker-compose up -d
```
## Operations

@@ -47,0 +100,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet