Jump to content
LaunchBox Community Forums

Movie Scraper (Reboot 2023) 1.3.0

   (3 reviews)

3 Screenshots

About This File

This is a reboot of the Movie Scraper Plugin by @Slipstream.

 

 

The intent of this plugin is to scrape metadata and media for movies you’ve imported into LaunchBox.

Q&A:

Why use LaunchBox as your digital movie library?

Because you can.

 

What metadata is imported?

  • Title
  • Notes (Movie Plot)
  • Release Date
  • Publisher (Production Studio i.e. “Marvel Studios”)
  • Genre(s)
  • Series (Collection i.e. “The Avengers Collection”)
  • Video Url (YouTube movie trailer)

 

What media is imported?

  • Box – Front
  • Banner
  • Clear Logo
  • Disc
  • Fanart – Background
  • Arcade – Marquee

 

Can it import media I already have?

Yes.  When importing media, the plugin will 1st look in the same folder the movie file is located.

 

Do I need to have my own personal API keys for both TMDB and FanArt.TV?

Yes.

However, when running Setup the first time, “temporary” API keys are automatically inserted.  For now, they work. But for best, continued results, obtain and enter in your own keys. (See below)

 

Are both API keys required to scape?

Yes.  If either of the keys are missing or invalid, the plugin will exit.

 

Do the Movie Titles [in LaunchBox] need to be named a certain way before scraping?

Yes.  The Titles should be the name of the movie without any extras.

  • The Avengers will work.
  • The Avengers (2012) will work.  (new v1.3.0)
  • The Avengers 2012 will not work.*
  • The.Avengers.2012.1080p.BluRay.x264.DTS-FGT will not work.*

*No.  If you have a valid Information (NFO) file in the same folder as the movie, the plugin will parse the file to get the proper Title and movie ID#.

  • The Avengers 2012 will work.
  • The.Avengers.2012.1080p.BluRay.x264.DTS-FGT will also work.

 

Can I scrape more than one movie at a time?

Yes.  Select multiple (or all) movies in the Platform, right-click and select Scrape Movie.

  • You may want to test with just one movie or only a couple at first.

 

Can I scrape metadata in a language other than English?

Yes.  See Setup: below.  (new v1.3.0)

 

Installation:

  1. Download the zip file
  2. Unblock it by right-clicking the file, select Properties, check “Unblock” and click OK.
    • (Alternately, just use 7Zip to open the downloaded file)
  3. Copy the folder inside the zip into ../LaunchBox/Plugins/
    • i.e.    D:\LaunchBox\Plugins\MovieScraper2023\MovieScraper.dll

Setup:

  1. Start LaunchBox
  2. Click Tools and select “Movie Scraper Setup”
    1. Enter in your API keys
    2. Click Verify Keys to confirm they are working
    3. (Optional) Check “Automatically select 1st Movie when multiple results are found”
    4. (Optional) Select a language to use when downloading metadata.  (Default: English)  (new v1.3.0)
    5. Click Save

Use:

  1. Select one or movies you have imported into LaunchBox, then right-click on one of them.
  2. Select Scrape Movie
    • A “Please Stand By” window will appear indicating scraping is in progress.
    • If a movie has more than one ‘close match’, a window will appear where you can select the correct movie.  
      • Unless during Setup, you checked “Automatically select 1st Movie when multiple results are found”.
  3. Scraping is complete when “Please Stand By” disappears.
  4. When completed, press F5 to refresh the Box-Front images for the selected movie(s).  Click on a different movie and then back on one just scraped to refresh the images in the right side-bar.

 

 

Getting your personal API keys:  (both are free to get)

TMDB

A TMDB user account is required to get an API key. Once created, log in and go to Profile - Overview - Edit Profile. Go down to API to get your “api_key (v3 auth)”. http://www.themoviedb.org

FanArt.TV

Register an account at https://fanart.tv/. Once registered, go to https://fanart.tv/get-an-api-key/ to find your personal key

 

The process when scraping:

  1. Get the API keys from APIfile.xml and verify the API keys are valid
    • If either API key returns “Unauthorized”, the plugin will exit
  2. Check if the movie has an NFO file (in the same folder as the video file). If so…
    • Get/store the movies ID#.  (Can be either TMDB or IMDB)
    • Set the ‘games’ Title
  3. Check for existing image files in the same folder as the video file. If any exist, copy them into LB
    • Image files need to have the same name as the video file, plus -imageType.png (or .jpg depending on the image type)
  4. Search TMDB using ‘Title’.  (If an NFO file exists, search by the movie ID# from step 2 above)
    • If no matches, “The movie could not be found.” [popup message] will appear.
      • When scraping in bulk, a popup will appear at the end of all scraping instead, listing the movies not found
    • If there are multiple matches, a window will appear to have you select the correct movie.  (Unless you chose to “Automatically select 1st Movie” during Setup)
    • If there’s only 1 match (or when a movie was manually selected), set the movies:
      • Title, Notes, Release Date, Publisher, Genre(s), Series and Video Url (link to movie trailer)
  5. Download images from TMDB and FanArt.TV. Download images only if the image type doesn’t already exist (i.e. local images weren’t found)

 

Order of precedence for importing images:

Local images:
Box-Front
Banner
Clear Logo
Disc
Fanart-Background
Arcade-Marquee

TMDB:
Box-Front
Fanart-Background

FanArt.TV:
Box-Front
Banner
Clear Logo
Disc
Fanart-Background
Arcade-Marquee

 

When selecting a language other than English (new option v1.3.0) to download metadata, Box-Front and Background images are the only ones that will appear in that language (if available).  FanArt.TV doesn't appear to support other languages.

 

Big thanks to @Slipstream for the original code and @jayjay for his update.   Thanks to @universeofgamer for the suggestion to add the option to scrape metadata in other languages.

As always, all comments and suggestions are welcomed.


What's New in Version 1.3.0   See changelog

Released

Improvement - Movie Titles ending with the year in parenthesis (2012) can now be searched
New Option - Select a language [other than English] to have the metadata scraped as

  • Like 10
  • Thanks 3
  • Unusual Gem 1

User Feedback

You may only provide a review once you have downloaded the file.


DerSchlachter

· Edited by DerSchlachter

   1 of 1 member found this review helpful 1 / 1 member

One more wonderfull Plugin by JoeViking245 😀 works like a charm! 

 

Why use LaunchBox as your digital movie library?

Because you can.

I totally agree, Launchbox can do it all! 💖

image.thumb.png.aa304480110b72682046db15aa9e099a.png

 

Platform Icon

1772200362_MoviesfromthePast.png.13d6281ff38971e5c2e99a0d515ab086.png

  • Thanks 2
  • Haha 1
Link to review
Whatscheiser

  

This is SO nice. Grabbed my APIs and it works just as advertised. What more could you want?

  • Thanks 1
Link to review
×
×
  • Create New...