Not scraping backdrops anymore??? (1 Viewer)

robbo100

Retired Team Member
  • Premium Supporter
  • May 5, 2009
    1,291
    308
    UK
    Home Country
    United Kingdom United Kingdom
    This is from the website and shows that the search strings have change with 2.1.

    If I use the string from below, with the Moving Pictures APIKEY and film unique reference from my log file the browser returns the correct film details:

    http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/cc25933c4094ca50635f94574491f320/tt0115751


    This definitely points to the need for the search strings to be re-written within Moving Pictures for this server.

    In the Moving Pictures menu is has the option to put in a manual script for another website. Does anyone know what form this should take so that a new manual script can be written for V2.1 of the database?

    Just a thought.

    Robbo100



    Hey guys,
    I have migrated all of the methods over to the new system. As well as introduced the new, longly awaited Person.x methods. Lots has been improved, such as, but not limited to:
    Improve text searching: I have done some major tweaking to the index movie search filter. This is going to take a lot testing but the API should find the proper movie higher in the list (ie. it's score). Things like apostrophes and other characters shouldn't impact searching any more. If you find one that doesn't work properly, let me know.
    Fix UTF-8 issues: Searching characters like é will work properly now.
    Make API RESTful: The API supports XML, YAML, and JSON output now.
    Proper genres: I have re-implemented the categories section to properly display actual genres now.
    Add studios: Studios have been added to the Movie.getInfo method.
    The new request URLs looks like the following:
    Movie Methods
    http://api.themoviedb.org/2.1/Movie.search/en/xml/APIKEY/Fight+Club
    AND
    http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/APIKEY/550
    AND
    http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/APIKEY/tt0137523
    Person Methods
    http://api.themoviedb.org/2.1/Person.search/en/xml/APIKEY/Brad+Pitt
    AND
    http://api.themoviedb.org/2.1/Person.getInfo/en/xml/APIKEY/287

    You'll notice the URL is split into 4 groups, language, type, api key and your search.
    Language: The language is only available for English right now, but obviously I am working towards changing that.
    Type: Can be set to either: XML, YAML, JSON
    API Key: Same API key you've been using all along.
    Search: Either the ID or title depending on the method you are using.
    Please post all issues in this thread.
    Thanks!
     

    robbo100

    Retired Team Member
  • Premium Supporter
  • May 5, 2009
    1,291
    308
    UK
    Home Country
    United Kingdom United Kingdom
    Spaldo

    I don't have an account with the google bug tracker thing. Do you?

    If you don't then can register and post it.

    I suspect (hope :D)they are busy working on 0.8, so may not be checking the MP site on a regular basis.

    This will need fixing for 0.8 too, so they should be told about it.
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    42
    Texas
    Home Country
    United States of America United States of America
    Can anyone give me a specific movie that is not working? Moving Pictures 0.7.5 does use the 2.0 interface for themoviedb.org, but this interface still exists.

    EDIT: Never mind, found an example. Looks like the 2.0 API is for some reason failing for some movies but not others. Will provide updates in a few hours.
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    42
    Texas
    Home Country
    United States of America United States of America
    Okay, I spoke with Travis over at themoviedb.org. A bug was introduced to the 2.0 API that caused retrievals to fail. This bug was only live for about 12 hours, but while it was live, the results of these queries were cached for a large number of movies. So this is why we are still seeing invalid results. The cache should clear within 12-24 hours so this is basically a short term issue that should be resolved by tomorrow. If for some reason the issue is not resolved at that time we will look at releasing a 0.7.6 build that will switch 0.7 to the 2.1 API.

    There is a conversation about this issue on the themoviedb.org forums as well, for those wanting a few more details.
     

    robbo100

    Retired Team Member
  • Premium Supporter
  • May 5, 2009
    1,291
    308
    UK
    Home Country
    United Kingdom United Kingdom
    Fforde,

    Ace news. Sorry that I have mislead the issue with the whole 2.0 / 2.1 thing.

    Thanks for clearing it up for us.

    Robbo100
     

    Users who are viewing this thread

    Top Bottom