Kodi Community Forum
[RELEASE] FilmAffinity (Spanish) scraper - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: Movie Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=302)
+----- Thread: [RELEASE] FilmAffinity (Spanish) scraper (/showthread.php?tid=25389)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


- fidoboy - 2011-02-13

Yout can test it by yourself. Just rename any file into "John Q.avi" and use XBMC to look for the info, also you can get the right result here: http://www.filmaffinity.com/es/film181581.html


- MaDDoGo - 2011-02-13

This is not a scraper mistake. If you search for John Q in the filmaffinity webpage it isn't into the 20 first entries. That's not my mistake if filmaffinity search is so bad. I can test if searching the movies in google instead of filmaffinity can do better but nothing else more.


- fidoboy - 2011-02-14

You are right, the fault is in the filmaffinity search system.


- MaDDoGo - 2011-02-14

If you figure out one system to bypass this crappy search engine I'll try to implement it Big Grin


- fidoboy - 2011-02-14

You could try to use Google search as alternative method, using:

site:http://www.filmaffinity.com/es [film title here]

as search string in Google. This way the results are more accurate. Also, i should be nice if you add this, as an option, into the addon settings (use filmaffinity search engine / use google search engine).

Hope this helps. Keep up the good work...


- fidoboy - 2011-02-20

Also, if you add this alternative search method, you must filter the results from Google, using a regex to use only links like this: http://www.filmaffinity.com/es/film181581.html where the result page is film[some numeric code].html Also, i've though that you can display a button into the result dialog. The current dialog only shows a button labeled 'Manual', but you can also add a new button named 'Google search' to repeat the search using Google. This way, the plugin first uses the normal search method, using the Filmaffinity search engine, then a dialog with the result list is displayed, with two buttons: Manual and Google search; then the user, can select to enter a new text using Manual or to make another new search using Google to get another set of results.

What do you think? In my oppinion this should be easy to add to the plugin and it could improve the accuracy a lot. I hope this helps.

Kind regards,


- MaDDoGo - 2011-02-20

I already know how to do the google searches. But I can't test if conditionals can be in every scraper functions (I think it would).

The second thing (button one) is impossible. Why? Because the button is hardly coded into XBMC and there's no way to create a button without changing XBMC code. I'll ask the developers if there's any way to make a search more results or try to do it by myself but I don't know C++


- HectorziN - 2011-03-20

I think that is easier than this.
filmaffinity does automatically a google search if the movie cannto be found.

For example, if you search for "John Q (2002)", automatically does a google search and the first matching is just the movie you are looking for.

So, we don't need to add a new parameter, we only need to parse also this search result.

What do you thing MadDogo?


- MaDDoGo - 2011-03-20

I think that the google searches are a new feature and I think (I didn't test it) that google results are parsed correct, because the urls are in filmaffinity style (I don't know how to test it, if anyone know how please tell me and I'll made the necesary changes).

But that is not what fidoboy wants. He wants a way to change search engines (filmaffinity and google) to avoid Batman '66 problems for example. I didn't think if that's possible at all because the results parser can't be search engine dependent, it will be the same for both.


- HectorziN - 2011-03-20

MaDDoGo Wrote:I think that the google searches are a new feature and I think (I didn't test it) that google results are parsed correct, because the urls are in filmaffinity style (I don't know how to test it, if anyone know how please tell me and I'll made the necesary changes).

But that is not what fidoboy wants. He wants a way to change search engines (filmaffinity and google) to avoid Batman '66 problems for example. I didn't think if that's possible at all because the results parser can't be search engine dependent, it will be the same for both.

Yes, this I say avoids batman problem, look at the result of searching batman 1989 http://www.filmaffinity.com/es/advsearch2.php?cx=008177178803676006601%3A6zmc6j5pngs&cof=FORID%3A9&q=batman+1989&ie=latin1#147

in the scraper search functionallity we can parse more than one type of search results, so, it is possible to parse also google search results without the need of using an extra parameter in the scraper configuration.


Fanarts problem: - gabyxze - 2011-04-22

Hello, we have XBMC 10.0 Beta3 r34730 + Transparency 3.10.0 with Filmaffinity 1.3.2
All information downloaded work ok until a few days ago.
Now the "Get Fanarts" from any movie are not download any more. The rest of information like mini Thumbs,Trailers,Cast,rating, etc is OK
What can i do?
Thanks!


- petete99 - 2011-04-23

gabyxze Wrote:Hello, we have XBMC 10.0 Beta3 r34730 + Transparency 3.10.0 with Filmaffinity 1.3.2
All information downloaded work ok until a few days ago.
Now the "Get Fanarts" from any movie are not download any more. The rest of information like mini Thumbs,Trailers,Cast,rating, etc is OK
What can i do?
Thanks!

+1


- MaDDoGo - 2011-04-23

I need to know why is this happening, and if I don't have the debug log I can't do anything.

Please post the debug log to some site like pastebin and then I'll try to fix it.

Thank you.


- gabyxze - 2011-04-23

MaDDoGo Wrote:I need to know why is this happening, and if I don't have the debug log I can't do anything.

Please post the debug log to some site like pastebin and then I'll try to fix it.

Thank you.

Hello MaDDoGo, thanks for the quickly response

We have posted the log file in:
http://www.megaupload.com/?d=28CKID47

I try to update the film "london boulevard"


- MaDDoGo - 2011-04-24

First of all, please update to 10.1 to have a stable version and not an old beta.

Then I have no problem with fanarts (tried with other movies not London Boulevard). Maybe a TMDB website issue?