zweifingerjoe
14th August 2021, 17:15
I made a little command line tool that scrapes data from imdb and writes it as matroska tags.
If you want the tags for a specific movie, just pass its imdb title url to the tool. Here is an example for "Star Wars Episode IV":
imdb2mkvtags -o foo.xml https://www.imdb.com/title/tt0076759/
This will save the tags to foo.xml which can then be muxed into a matroska file with mkvtoolnix.
If you also want the full credits with all actors and characters in your tag file, not just what's on the title page, use this:
imdb2mkvtags -o foo.xml -opts fullcredits=1 https://www.imdb.com/title/tt0076759/
To install imdb2mkvtags, install go (https://golang.org/) first, then execute the following statement on the command line:
go get github.com/jwdev42/imdb2mkvtags/bin/imdb2mkvtags
You may also checkout the project's github page (https://github.com/jwdev42/imdb2mkvtags), it contains a manual as html file inside the docs folder.
Please notice that the generated xml files will have unix line breaks.
If you want the tags for a specific movie, just pass its imdb title url to the tool. Here is an example for "Star Wars Episode IV":
imdb2mkvtags -o foo.xml https://www.imdb.com/title/tt0076759/
This will save the tags to foo.xml which can then be muxed into a matroska file with mkvtoolnix.
If you also want the full credits with all actors and characters in your tag file, not just what's on the title page, use this:
imdb2mkvtags -o foo.xml -opts fullcredits=1 https://www.imdb.com/title/tt0076759/
To install imdb2mkvtags, install go (https://golang.org/) first, then execute the following statement on the command line:
go get github.com/jwdev42/imdb2mkvtags/bin/imdb2mkvtags
You may also checkout the project's github page (https://github.com/jwdev42/imdb2mkvtags), it contains a manual as html file inside the docs folder.
Please notice that the generated xml files will have unix line breaks.