Skip to content

[Bug]: Yt not working in the web interface #1520

Open
@dbenji

Description

@dbenji

What happened?

I installed the web interface and the results of any patterns involving Youtube videos provide the same results independently from the link provided. If I run the command via CLI the result is the one expected. Everything is running into a Docker container.

Docker instructions and docker file:

-----Docker file------

ROM golang:latest

# Install system dependencies and yt-dlp in one layer
RUN apt-get update && apt-get upgrade -y && \
    apt-get install -y --no-install-recommends ffmpeg python3 python3-pip npm git curl && \
    curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \
    chmod a+rx /usr/local/bin/yt-dlp && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

# Install Go tool
RUN go install github.com/danielmiessler/fabric@latest

# Clone the repo
RUN git clone https://github.com/danielmiessler/fabric.git /web

# Set working directory for npm
WORKDIR /web/web

# Install npm dependencies
RUN npm install

# Copy start script and set permissions
COPY start.sh /start.sh
RUN chmod +x /start.sh

# Fix vite dev command
RUN sed -i -se 's/vite dev/vite dev --host/g' /web/web/package.json

CMD ["/start.sh"]

Version check

  • Yes I was.

Relevant log output

Relevant screenshots (optional)

Example: https://www.youtube.com/watch?v=RfhXV166WHc

Image

fabric -y "https://www.youtube.com/watch?v=RfhXV166WHc" --stream --pattern extract_wisdom

Image Image Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions