IMDb+ Plugin 2.1.0.291 with IMDb+ Scraper v4.9.xxx (5 Viewers)

el-Dia

MP Donator
  • Premium Supporter
  • July 27, 2009
    28
    4
    Home Country
    Norway Norway
    Hey guys! Thanks for all tips in the discussion. It's been a lot of help in troubleshooting my challenges with the plugin.

    @freco, is your setup working?

    I’m still experiencing your symptoms, not recognizing many movies without ttnr in name or in .txt file and with non-English names being auto-selected for English movies.

    Did a fresh install of MP 1.38.3 and through the MP extension manager, Moving Pictures 1.9.7.214 and IMDb+ 2.1.0.539
    Configured two folders with a limited amount of files. Get same behavior from IMDb+ with default settings.

    Testing some alternative settings, like “Use the org. title” to on didn’t change result.
    Turning “Add the foreign title” to on did not add English or foreign title in parenthesis.

    Tested the 340273 version of the scraper to see if there was any change in behavior, but no. (Removed the IMDb+ scraper installed through Movie details Data sources”)

    Compared 340273 with IMDbPlus/Scraper/IMDb+.Scraper.SVN.xml at master · Mediaportal-Plugin-Team/IMDbPlus and they are both the same. (Compared with Notepad++)

    IMDb+ finds the correct movie (based on the TTnr) but gets the alternate Scandinavian title and not the original English.

    Any tips on what to try next?
     

    Attachments

    • movingpictures.sendtoimp.log
      1.5 MB

    fredco

    Portal Pro
    November 13, 2010
    137
    36
    Home Country
    Netherlands Netherlands
    @el-Dia

    Yes, I still have a great working IMDb+ setup. Problem is the maker of this plugin (RoChess) has not been around since 2023. And the guy that picked up where he left off KJ-Cox (formerly Budinski) also left in 2024. But he made a version of IMDb+ (340273) that still works like before. biship said that the official plugin now contains the update, but I haven't tested this yet. I still anxiously hold on to my installed versions from KJ-Cox. I now use the custom script alot, because of the new movies that are coming out now and aren't recognised by IMDb+, like Despicable Me 4.
    The problem I had with some Dutch movietitles popping up on the IMDB-site is now solved by setting the Chrome preferred language to English / US. Now all titles are in English. Do you still have issues with non-english titles scraped by IMDb+? You should thoroughly read this complete thread starting with my post #200 from jan 7, 2024. If you follow this exactly you will get the same good result as I have.
     

    el-Dia

    MP Donator
  • Premium Supporter
  • July 27, 2009
    28
    4
    Home Country
    Norway Norway
    Thanks!

    Searching imdb with Chrome returned the correct title and tried setting the preferred language to english-us.
    Chrome-imdb search still returned correct title.
    Tested a re-run through moving pic. No change, still choosing the non-english title.

    I read again through the posts and couldn’t find what else I might have missed to try. Tested both posted versions of the xml. With old and new .dll.

    Looked through the log and started testing “minor” errors through PS with the Invoke-WebRequest to see if any of those errors affected the result. Saw same error there as in the log:
    06-Oct-2025 11:50:08 Debug [ ScraperNode]: Retrieving URL: Abserviert (2005) - Parents guide - IMDb
    06-Oct-2025 11:50:08 Error [ WebGrabber]: Connection failed: URL=, Status=308, Description=Permanent Redirect.
    06-Oct-2025 11:50:08 Debug [ ScraperNode]: Retrieving URL: Abserviert (2005) - Release info - IMDb
    06-Oct-2025 11:50:08 Error [ WebGrabber]: Connection failed: URL=, Status=308, Description=Permanent Redirect.

    Replicated the error with:
    Invoke-WebRequest -Uri Abserviert (2005) - Release info - IMDb # Fails with (308) Permanent Redirect
    Invoke-WebRequest -Uri Abserviert (2005) - Release info - IMDb # Returns data
    Invoke-WebRequest -Uri Abserviert (2005) - Parents guide - IMDb # Fails with (308) Permanent Redirect
    Invoke-WebRequest -Uri Abserviert (2005) - Parents guide - IMDb # Returns data


    Changed the script and added the / after parentalguide and releaseinfo:
    Line 877: <retrieve name="parentalguide_page" url="${site}parentalguide/" encoding="UTF-8" />
    Line 1360: <retrieve name="aka_page" url="${site}releaseinfo/" encoding="UTF-8" />

    Uploaded it again to moving pic, errors gone from log, but title still being non-english.

    Tested a PS request to replicate the behaviour:
    $uri = Abserviert (2005) ⭐ 6.7 | Comedy
    $response = Invoke-WebRequest -Uri $uri
    $pageContent = $response.Content
    Write-Host $pageContent

    Returns the the non-english title:
    ..})</script><title>Eat This (2005) - IMDb</title>..

    Added the header:
    $uri = Abserviert (2005) ⭐ 6.7 | Comedy
    $headers = @{ "Accept-Language" = "en-US,en;q=0.9" }
    $response = Invoke-WebRequest -Uri $uri -Headers $headers
    $pageContent = $response.Content
    Write-Host $pageContent

    And the correct title is returned:
    ..})</script><title>Waiting... (2005) - IMDb</title>..


    Atemted to try the same in the XML and added headers after encoding:
    Line 1755: <retrieve name="search_page" url=https://www.imdb.com/find/?s=tt&amp;q=${search.title:safe(UTF-8)}%20(${search.year}) encoding="UTF-8" headers="Accept-Language: en-US,en;q=0.9" />


    Movingpictures.log doesn’t show any obvious error:
    07-Oct-2025 11:22:22 Debug [ ScraperNode]: executing retrieve: <retrieve name="search_page" url=https://www.imdb.com/find/?s=tt&amp;q=${search.title:safe(UTF-8)}%20(${search.year}) encoding="UTF-8" headers="Accept-Language: en-US,en;q=0.9" />
    07-Oct-2025 11:22:22 Debug [ ScraperNode]: Retrieving URL: https://www.imdb.com/find/?s=tt&q=Waiting (2005)
    07-Oct-2025 11:22:23 Debug [ WebGrabber]: GetResponse: URL=, UserAgent=Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11, CookieHeader=session-id=139-1408974-2036205; session-id-time=2082787201l, Accept=text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8



    07-Oct-2025 11:22:25 Debug [ ScraperNode]: name: imdb_results ||| pattern: <title>(?:IMDb[\s-])?(?:&#x27;)?(.+?)(?:&#x27;)?\s\(\D*(\d{4})[^)]\).?</title>.+?(tt\d+)/fullcredits ||| input: [not logged due to size]
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: imdb_results.count = 1
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: imdb_results[0][0] = Eat This
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: imdb_results[0][1] = 2005
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: imdb_results[0][2] = tt0348333
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: if node left value: tt0348333 right value:
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: movie[0].title = Eat This
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: movie[0].year = 2005
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: movie[0].imdb_id = tt0348333
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: movie[0].site_id = tt0348333
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: Assigned variable: movie[0].alternate_titles = Waiting
    07-Oct-2025 11:23:02 Debug [ ScraperNode]: IMDb+ Scraper: Direct match found for [tt0348333] as: 'Eat This (2005)'

    Don’t know for sure if the webgrabber actually takes the header parameter into the actual request sent.

    So far it doesn’t make a difference for me.
     

    Attachments

    • movingpictures.log
      2.4 MB

    fredco

    Portal Pro
    November 13, 2010
    137
    36
    Home Country
    Netherlands Netherlands
    I did an almost complete new installation of Mediaportal with Moving Pictures and IMDb+. I used MP 1.35 and Moving Pictures 1.8.4.1 and IMDb+ 4.10.10 from 2021. I have added the IMDb tt-number to ALL my movie folders with FileBot 5.2.0. This is important. Filebot scrapes the IMDb site for tt-numbers. It would be a hell of a task to do it by hand with my 2.000+ library.
    Next, you should add 340273_IMDb.Scraper.SVNv2 by KJ-Kox and do this exactly as stated in thread #206 by KJ-Kox starting with "I had issues with the scraper as well". Also very important to do this like he says. Also install IMDb.Scraper.SVNv2.xml. Finally I have made a custom IMDb+ scraper for new movies in C:\ProgramData\Team MediaPortal\MediaPortal\IMDb+ named Rename dBase IMDb+ Scraper (Custom).xml for new movies like "Despicable Me 4" and many more.
    Result is as I want it to be: an almost flawless new scrape of my entire library by IMDb+ all in English (I live in the Netherlands).
    You should try this too as I've proved this is possible. But like I said before: you need to read this thread very very good.

    Another thing you might wanna do: I have my entire library completed with a movieposter and fanart for the background for each movie. I do this with Media Companion which also takes a lot of tweaking to set it up, but when you have it running like me, it works like a charm

    Good luck!!
     

    Users who are viewing this thread

    Top Bottom