The code I use to created the XML library definition files (XML formatted files listing the video name, along with a link to the video, a link to the thumbnail file, etc) is written in Python. It searches through the video library on lds.org to create the files. I'm happy to share what I have if you want it, just send me a private message. It's not what I would call production quality and takes a little hand holding to run it.

The Q4 2018 "Come, Follow Me" video libraries (October through December) are now available - all of the videos referenced in the lessons are included. The Mormon Messages libraries (I suppose that name will be changing!) were also updated with all videos present as of today.