This is a simple shell script which scans your movie directory and download trailer using youtube-dl.
It can also work under a NAS (i.e. Synology / QNAP) environment to update your plex collection.
Install youtube-dl From https://github.com/ytdl-org/youtube-dl.
Set root of your movie folder and run this script.
sh trailer-download.sh