*NEW* IMDb scraper (With localized versions for DE/ES/FR/IT/PT) | Page 4

Discussion in 'Moving Pictures' started by RoChess, April 1, 2010.

  1. Surferosa

    Surferosa Portal Pro

    Joined:
    September 2, 2009
    Messages:
    55
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    England England
    Should be a fairly easy fix then- just copy the code from one part of the script over to the other. The xml is really well annotated, so you should be able to get it working fairly easily with a bit of trial and error (just open the xml in notepad).


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Langi

    Langi Portal Member

    Joined:
    October 5, 2009
    Messages:
    13
    Likes Received:
    3
    Ratings:
    +3 / 0
    Home Country:
    Austria Austria
    Hello!

    I recently found out that I have a problem getting the correct language information with german IMDb scraper. Field 'language' in tab 'Movie Manager' for example shows 'nglish' instead of 'English' or 'erman' instead of 'German'. The first character is missing. Can anybody confirm?

    RoChess

    I'm not very familiar with regular expressions so I hope there isn't something wrong the way I've tested it. I've used function 'rx_language' from your scraper with a part of the HTML-Code from IMDb.de in an online REGEX-Tester. The result is the same (missing first character). Please take a look at the screenshot:

    http://langi.heimat.eu/images_temp/Scraper.jpg


    Best regards,
    Andreas
     
  4. Pilgrimon

    Pilgrimon Portal Pro

    Joined:
    April 15, 2010
    Messages:
    63
    Likes Received:
    1
    Ratings:
    +1 / 0
    Hi RoChess,

    I can confirm the issue, that Langi has described. First I have checked all my already imported movies and the "Language"-Tag was filled in fine, no missing first character.
    But then I reimported some of the movies (send back to importer) in order to check, whether I could reproduce the behaviour described by Langi and indeed, now the first character is missing in the "Language"-Tag. To me it seems, like IMDb.de has changed something.

    If you need a log for hunting down the bug, just let me know!

    Cheers
     
  5. Langi

    Langi Portal Member

    Joined:
    October 5, 2009
    Messages:
    13
    Likes Received:
    3
    Ratings:
    +3 / 0
    Home Country:
    Austria Austria
    Hello!

    If somebody needs a quick fix for german IMDB scraper (missing first characters in language-field):
    I tried to remove [^\r] (should eliminate carriage returns I think). Now informations are parsed correct again.

    Regards,
    Andreas
     
    • Like Like x 2
  6. Pilgrimon

    Pilgrimon Portal Pro

    Joined:
    April 15, 2010
    Messages:
    63
    Likes Received:
    1
    Ratings:
    +1 / 0
    Thanks for the quick fix, Langi!
     
  7. Impreza

    Impreza Portal Member

    Joined:
    May 26, 2010
    Messages:
    30
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    France France
    Thanks for the first letter fix ! I also had to remove the question mark to make it work though : [^\r]?

    It also works for the French version.
     
  8. manval

    manval Portal Member

    Joined:
    December 3, 2008
    Messages:
    19
    Likes Received:
    2
    Occupation:
    Programador de Sistemas
    Location:
    Sevilla
    Ratings:
    +2 / 0
    Home Country:
    Spain Spain
    Show System Specs
    Thanks for the fix, Langi!

    It also works for the Spanish version.
     
  9. Hugopeixoto

    Hugopeixoto Portal Member

    Joined:
    January 10, 2011
    Messages:
    22
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Portugal Portugal
    Still not working here!

    It continues to put the Title on Portuguese...
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!