Closed batpad closed 3 years ago
I see youtube-dl
is defined without pinning to a version here: https://github.com/forensic-architecture/mtriage/blob/main/src/lib/selectors/Youtube/requirements.txt#L1
So it seems like the docker build should have pulled in the latest version, but some-how did not, and we were able to reproduce the same download failure on two environments. Will attempt a clean rebuild and see if that fixes.
Turns out I had a really old Docker image cached some-how. Apologies for the noise. Closing.
Hi @batpad yes this is probably our fault sorry. The Docker image on Dockerhub is very old, and so I recommend always running mtriage with --dev
to ensure it's using the latest code on your local.
No worries at all - thanks for the tip about --dev
. I some-how missed that flag. And now everything makes a lot more sense about the docker image versions :-) . Thanks for the response here.
Firstly, thank you for wonderful software!
I was getting errors when attempting to use the Youtube selector, something like:
I attempted to install
youtube-dl
locally and was able to download the same video. I was able to ssh into themtriage
docker container and get a similar error when trying to runyoutube-dl
from the command line:Checking versions of
youtube-dl
showed me, version working on my laptop:Inside the docker container:
Running a
pip install youtube-dl --upgrade
inside the container fixes it, of course. I can look around a bit at where dependency versions are defined and try and submit a PR, but thought I'd outline the issue. Thank you again!