jwztv music video scraper
This commit is contained in:
13
scrape-jwztv/fetchVideos.sh
Normal file
13
scrape-jwztv/fetchVideos.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
INPUTFILE="$DIR/all.txt"
|
||||
DESTDIR="/Volumes/EXT/tmp/jwztv-youtube-scrape"
|
||||
|
||||
while IFS= read -r SEARCHTERM; do
|
||||
cd $DESTDIR
|
||||
yt-dlp "ytsearch:$SEARCHTERM"
|
||||
done < "$INPUTFILE"
|
||||
Reference in New Issue
Block a user