#!/bin/bash # video-search-ai-search.sh - search for videos on youtube and make flashcards and summaries from them query="${*:-olivio sarakas controlnet}" search -e youtube "$query" | tail -n +2 | ( IFS=$'\t' while read -r N U T; do i "$N" video_to_flashcards.make url="$U" done ) | tee log