17.6: The Movie Database scraper failing
#1
Updated the addon a few minutes ago. It was failing before update as well. 


```11:47:52.424 T:140667200047488   DEBUG: ------ Window Init (DialogConfirm.xml) ------11:47:52.424 T:140667200047488   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'noop'11:47:53.047 T:140666353170176   DEBUG: Thread VideoInfoDownloader start, auto delete: false11:47:53.047 T:140666353170176   DEBUG: FindMovie: Searching for 'Brick' using The Movie Database scraper (path: '/home/media/.kodi/addons/metadata.themoviedb.org', content: 'movies', version: '5.0.3')11:47:53.054 T:140666353170176   DEBUG: scraper: CreateSearchUrl returned <url>https://api.tmdb.org/3/search/movie?api_key=ecbc86c92da237cb9faff6d3ddc4be6d&amp;query=Brick&amp;year=2005&amp;language=en</url>11:47:53.054 T:140666353170176   DEBUG: CurlFile::Open(0x441f320) https://api.tmdb.org/3/search/movie?api_...:47:53.054 T:140666353170176    INFO: easy_aquire - Created session to https://api.tmdb.org11:47:53.183 T:140666353170176   ERROR: CCurlFile::FillBuffer - Failed: SSL connect error(35)11:47:53.183 T:140666353170176   ERROR: CCurlFile::Open failed with code 0 for https://api.tmdb.org/3/search/movie?api_...:47:53.186 T:140666353170176   ERROR: Run: Unable to parse web site11:47:53.187 T:140666353170176   ERROR: Process: Error looking up item Brick (2005)11:47:53.188 T:140666353170176   DEBUG: Thread VideoInfoDownloader 140666353170176 terminating```

The API is returning a JSON result:

json:
{"page":1,"total_results":6,"total_pages":1,"results":[{"vote_count":425,"id":9270,"video":false,"vote_average":6.8,"title":"Brick","popularity":8.211828,"poster_path":"\/hyALqQpaTv0GGV4axqePihEmCY8.jpg","original_language":"en","original_title":"Brick","genre_ids":[18,9648],"backdrop_path":"\/paHvFDm2uLTzVXpb59fsuJCz89b.jpg","adult":false,"overview":"A teenage loner pushes his way into the underworld of a high school crime ring to investigate the disappearance of his ex-girlfriend.","release_date":"2005-01-30"},{"vote_count":0,"id":345308,"video":false,"vote_average":0,"title":"Brick Vision","popularity":1.002445,"poster_path":null,"original_language":"en","original_title":"Brick Vision","genre_ids":,"backdrop_path":null,"adult":false,"overview":"The story of the man who had such a long tie that he had to walk around with a stepladder.","release_date":"2005-06-17"},{"vote_count":1,"id":291115,"video":false,"vote_average":7,"title":"Yellow Brick Road","popularity":1.037647,"poster_path":"\/afDS86ZyyFPsmPlWbpEcGaQ5nkf.jpg","original_language":"en","original_title":"Yellow Brick Road","genre_ids":[99],"backdrop_path":null,"adult":false,"overview":"A group of disabled actors prepares and performs a one night only performance of the Wizard of Oz.","release_date":"2005-07-17"},{"vote_count":2,"id":81234,"video":true,"vote_average":7,"title":"Lego Star Wars: Revenge of The Brick","popularity":1.124696,"poster_path":"\/yjp7x9PKCrmDtXxVQJiDFeV4ntG.jpg","original_language":"en","original_title":"Lego Star Wars: Revenge of The Brick","genre_ids":[14,878,16,10751],"backdrop_path":"\/o7uqNjzJVOCtjGvzLx2Yzslr53t.jpg","adult":false,"overview":"A brickfilm (Lego short film) loosely based on Star Wars Episode III: Revenge of the Sith.","release_date":"2005-08-05"},{"vote_count":0,"id":78316,"video":false,"vote_average":0,"title":"Murder on the Yellow Brick Road","popularity":1.003296,"poster_path":"\/7Osd2F8jLyHbdQjhac6u9ifd4W3.jpg","original_language":"en","original_title":"Murder on the Yellow Brick Road","genre_ids":[18,9648],"backdrop_path":null,"adult":false,"overview":"A pretty young songbird found murdered on Hollywood Boulevard. The crusty old Private Eye who was in love with her. A smooth-talking seductress who hires him to solve the crime. A bulldog detective with a nose for the truth and a leash held by city hall. A long list of suspects with a long list of alibis. A sprinkling of dirty secrets. A zest of clever lies. These are the ingredients of an homage to the PI films of Hollywood's Golden Age.","release_date":"2005-01-01"},{"vote_count":2,"id":180885,"video":false,"vote_average":9.8,"title":"Jim Brickman at the Magic Kingdom - The Disney Songbook","popularity":1.07304,"poster_path":"\/bHNBDpcde07RVdgSarhEfGdJ2Cj.jpg","original_language":"en","original_title":"Jim Brickman at the Magic Kingdom - The Disney Songbook","genre_ids":,"backdrop_path":null,"adult":false,"overview":"Jim Brickman performs his beautiful piano renditions of favorite Disney classics. Performances are accompanied by vocal performances of Wayne Brady, Michael Bolton, Lila McCann, and Linda Eder.","release_date":"2005-11-04"}]}

but the parser seems to be failing to understand it. 

How do I fix this? Is it a bug? 

Also, what's the best way to post those logs in here? using `syntax` doesn't seem to help, the line breaks get lost.
Reply
#2
Please do not plaster your log file onto the forum as it does not make for a legible piece of text, instead use a text upload like Pastebin.com.

Also always provide a FULL debug log (wiki), we prefer all the pieces of your puzzle, not just a couple of them.
Reply

Logout Mark Read Team Forum Stats Members Help
17.6: The Movie Database scraper failing0