IMDb Scraper with RottenTomatoes rating (check end of thread for final versions) | Page 7

Discussion in 'Moving Pictures' started by RoChess, January 3, 2010.

  1. ixian
    • Premium Supporter

    ixian MP Donator

    Joined:
    August 14, 2007
    Messages:
    320
    Likes Received:
    56
    Ratings:
    +56 / 0
    Home Country:
    United States of America United States of America
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    I'm not sure that did fix it Knives03, my ratings are still off, same as you described. I replaced the regex in the script with the example RoChess gave but nothing appears to have changed - ratings are still way off for me.

    This is not dependent on a particular skin. It works with all of them.

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. OllieZA

    OllieZA Portal Member

    Joined:
    July 9, 2010
    Messages:
    6
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    South Africa South Africa
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    I had the same issue when I tried it five minutes ago. I got it working by doing the following:

    Edit the script as per recommendation.
    Delete scraper from sources in Moving Pictures config and add it again.
    Close and open Moving Pictures config.
    Refresh movie using scraper.​

    It was necessary to delete the scraper, add it again then refresh, after the edit.
    You can't just edit then refresh, or disable, enable then refresh.

    Hope this helps.
     
    • Like Like x 1
  4. ixian
    • Premium Supporter

    ixian MP Donator

    Joined:
    August 14, 2007
    Messages:
    320
    Likes Received:
    56
    Ratings:
    +56 / 0
    Home Country:
    United States of America United States of America
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    Thanks for the tip, I wondered if it was caching something. I'll give this a try in a bit.
     
  5. Knives03

    Knives03 Portal Pro

    Joined:
    March 6, 2009
    Messages:
    103
    Likes Received:
    2
    Ratings:
    +2 / 0
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    I did delete the scraper and re-add it when i reported it working for me before, but I didn't have to close the MovingPictures configuration also. I'd try it anyway just in case, but it seems that it must not see that the script has changed unless it is re-added in the sources section of the config.
     
  6. ixian
    • Premium Supporter

    ixian MP Donator

    Joined:
    August 14, 2007
    Messages:
    320
    Likes Received:
    56
    Ratings:
    +56 / 0
    Home Country:
    United States of America United States of America
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    Thanks guys, deleting and readding it did the trick.
     
  7. superted125

    superted125 Portal Member

    Joined:
    September 16, 2009
    Messages:
    30
    Likes Received:
    3
    Ratings:
    +3 / 0
    Home Country:
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    im still getting some incorrect readings even with the changes.

    Finding Nemo is coming up with 8.2
     
  8. Surferosa

    Surferosa Portal Pro

    Joined:
    September 2, 2009
    Messages:
    55
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    England England
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    Yep- appears to be broke again. Finding Nemo doesnt work on a refresh for me either. /sigh

    Im guessing more code changes at RT. What a pain.
     
  9. Knives03

    Knives03 Portal Pro

    Joined:
    March 6, 2009
    Messages:
    103
    Likes Received:
    2
    Ratings:
    +2 / 0
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    Syriana imported incorrectly for me as well. The score was not reflected accurately. They definitely must be chaning something in the code at Rotten Tomatoes.
     
  10. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    Maybe the pixie dust monster did it.

    Without the proper scraper-debug-enabled log files to look at (as explained before), I'm not going to bother looking at it.
     
  11. Knives03

    Knives03 Portal Pro

    Joined:
    March 6, 2009
    Messages:
    103
    Likes Received:
    2
    Ratings:
    +2 / 0
    Re: IMDb Scraper with RottenTomatoes rating v1.4.4

    Yes, I hate those bastard pixie dust monsters :oops: haha

    I removed the scraper and re-added it again, which resulted in the score for Syriana being correctly imported. I did this previously when i was having issues after making changes to the scraper file, however I hadn't made any changes since so i don't know why that worked. I also tested Insomnia, which was a new movie I added to my database and that worked fine.

    I am going to post my log files on here anyway because I see there are lines that say error, and I'm not sure what they mean so I figured you might. Particularly is the following line:

    PHP:
    1. ScraperNode]: Error parsing numbers: <divide name="rotten_rating" value1="${rotten_rating}" value2="10" result_type="float" />
    I am also going to include my version of the scraper itself because maybe I messed something up. The only thing I did was add this code from a previous post of yours.

    Thanks!
     

    Attached Files:

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!