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


- itombs - 2010-03-23

Sinopsis doest work in many cases, for example:
http://www.filmaffinity.com/es/film905774.html
There is OK in filmaffinity web but with scraper dont retrieve the sinopsis info.
Bye


- MaDDoGo - 2010-03-23

That's because there is no (FILMAFFINITY) in the end of the plot (it is in every plot, but this) Tomorrow I'll try to change cathing style to avoid this problems .P


- fidoboy - 2010-03-24

Can anyone try with 2012 movie? i can't get the fanart for this movie... (i'm using XBMC running on linux box)


RE: Plot/sinopsis capturing issue - Euler - 2010-03-24

MaDDoGo Wrote:That's because there is no (FILMAFFINITY) in the end of the plot (it is in every plot, but this) Tomorrow I'll try to change cathing style to avoid this problems .P

Thanks for your interest.

However, ie '2012' has (FILMAFFINITY) in the end and scrapper is not capturing it. In fact, films that where captured in the past also included somehow "official" critics, and these are not finishing with (FILMAFFINITY). Don't know if everyone is interested in critics, but perhaps it would be easier to capture to that end.

Other examples: 007: Alta Tensión / La conspiración del Pánico...


- MaDDoGo - 2010-03-24

I think that the problem es that sometimes there is a space between dot and filmaffinity. I'll change that and I'll post a new spanish scraper I am working on Big Grin

About the critics thing, latest filmaffinity web update changed the way that plots and critics are showed and because of this I discarted it because I am not interested in critics and there isn't a <info> tag to store this....

About fanart thing I have no idea what is going on :S


- itombs - 2010-03-24

MaDDoGo Wrote:That's because there is no (FILMAFFINITY) in the end of the plot (it is in every plot, but this) Tomorrow I'll try to change cathing style to avoid this problems .P

Thanks a lot.

See you


- Euler - 2010-03-24

MaDDoGo Wrote:I think that the problem es that sometimes there is a space between dot and filmaffinity. I'll change that and I'll post a new spanish scraper I am working on Big Grin

About the critics thing, latest filmaffinity web update changed the way that plots and critics are showed and because of this I discarted it because I am not interested in critics and there isn't a <info> tag to store this....

About fanart thing I have no idea what is going on :S

Thanks for your interest. I'll wait for your update.


Problem trailers - Mychus - 2010-03-29

Hello everyone
I have a problem with filmaffinity and I can not see the trailers for a week, the rest right.
Sorry for my English (google).
A greeting

Castellano

Hola a todos
Tengo un problema con filmAffinity y es que no puedo ver los trailers desde hace una semana, lo demas correcto.
Perdon por mi ingles (google).
Un saludo


- MaDDoGo - 2010-03-29

Please, for better errors correction upload a scraper log to pastebin so I can know what is going on...

Thank you

I am trying to fix problems. The Only way I found is to include (FILMAFFINITY) in the plot. I'm still working to improve this but I think with this regex it won't leave any plot.

Change lines 80 to 82 with this:

Quote: <RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
<expression>&lt;b&gt;SINOPSIS&lt;/b&gt;&lt;/td&gt;[^&lt;]*&lt;td&gt;([^&lt;]*)</expression>
</RegExp>


I'm still working and when I'll have it I'll upload to trac...

--------------------------

Edit 1:

I think I have the solution:

Quote: <RegExp input="$$8" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
<RegExp input="$$1" output="\1" dest="8">
<expression>&lt;b&gt;SINOPSIS&lt;/b&gt;&lt;/td&gt;[^&lt;]*&lt;td&gt;([^&lt;]*)</expression>
</RegExp>
<expression>(.*)\(</expression>
</RegExp>

In theory, with this regex plot errors are going to be a problem from the past Tongue


- nabz - 2010-03-29

It works!!!
THANKS!


- nabz - 2010-04-01

MaDDoGo, I don't know why but I cannot get the fanart. All the movie info is ok but no fanart is downloading.
Does it work in your installation?


- fidoboy - 2010-04-01

nabz Wrote:MaDDoGo, I don't know why but I cannot get the fanart. All the movie info is ok but no fanart is downloading.
Does it work in your installation?

yep! same problem i've reported a few post ago. Let's hope that next XBMC release could solve this issue, i think that this has nothing to do with the scrapper...

regards,


- calibra3 - 2010-04-01

to me , the fanart is downloading, but not uprade it in real time.
I upgrade the fanart of the movie, but I don't see the new thumb if I don't restart de xbmc.

sorry for my english


- BadGandalf - 2010-04-01

Same problem here. No fanart at all. Thnks for the effort in fixing it. Rgds,

Ignacio


- MaDDoGo - 2010-04-01

Please post some log so I can know what happen. You have to post it in debug mode.

Thank You...