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


- rooberman - 2011-01-13

Thx for looking into this @MaDDoGo, I have send you a pm

@El Lute, take a look in the wiki to see how the nfo files works


- MaDDoGo - 2011-01-13

All done rooberman as I said in the PM. Now I have done the updating in the scraper and I write a script to update the database into the new trailer format Big Grin

Here is the files:

Filmaffinity 1.3 Beta (Polishing details): http://www.megaupload.com/?d=2MEWX9ZS
Script: http://www.megaupload.com/?d=VMAOQ8Y5

PS: For the developers: Is it possible to call a scraper as a plugin with plugin://scraper.../?action=...? Because I want to save fanart's urls as plugins, then when fanarts gets added you don't have to re-scrape again...


- tonybeccar - 2011-01-23

Hello, I've tested the beta version, but I'm not getting any trailers. I don't really know what to do with the script you gave.. Anyway, another thing, but I think it's not the scraper's fault: The cast is shows in a different order in XBMC than the original page it was scraped from (imdb or filmaffinity), I've googled it and it seems that XBMC sorts the actors by an id number. I just wanted to ask if anyone has this problem or if anyone knows how to fix it. For example look at the movie "Back to the future", Michael J. Fox should be at the top, instead Lloyd appears (or if you have the scraper to search in imdb, Casey Siemaszco appears first to me).

So I'm asking PLEASE if anyone could help me with this, I'd be really grateful. Great jo and thanks to all in advance!


- MaDDoGo - 2011-01-23

About scraping order I have no idea why it disorders. About beta scraper wait until the update is aproved by XBMC and then try again.


- z3us - 2011-01-25

Thanks


- itombs - 2011-01-26

Hi, since yesterday filmaffinity scrapper doesnt retrieve de Ganre of the movies.
Doesnt work in pre-Dharma xbmc versions and doesnt work in Dharma version.
I still use pre-Dharma version os xbmc in some PC so, its possible to update the no-addon version of scrapper too?
Thanks a lot.


- itombs - 2011-01-26

Another bug only in the Dharma version of filmaffinity scraper appears with number of votes when this is bigger than 999, when there are some "."
If nº of votes is 1.700, the scraper take 1,7.
In my version into xbmc pre-Dharma this doesnt happen.


- MaDDoGo - 2011-01-29

this is a zero's problems.

To fix pre-dharmas:


Quote:Change votes regex to this:
<RegExp conditional="!iMDBRatings" input="$$1" output="&lt;votes&gt;\1\2&lt;/votes&gt;" dest="5+">
<expression>align=&quot;center&quot;&gt;\(([0-9\.]*)</expression>
</RegExp>

Change Genres regex:
<RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
<expression repeat="yes">/es/moviegenre.php?[^&gt;]*&gt;([^&lt;]*)</expression>
</RegExp>

Cheers!


- janderclander - 2011-01-30

First of all, nice work with this scrapper plugin, work(ed) like a charm.

Getting the cast overview from imdb is a very nice improvement and I love it, but I've scrapped some films today (like 15 or so) and it doesn't retrieve the cast.

¿Has anyone noticed this issue?

Thank you.


- MaDDoGo - 2011-01-30

Please tell me what films are and post a debug log so I can see what happens. And you can take filmaffinity cast too configuring the scraper.


- janderclander - 2011-01-30

It happens with every single film I scrapped (today, I didn't scrapped since 2 weeks or so, last time it worked perfectly)

I tried to scrape now "Easy Rider": http://www.filmaffinity.com/es/film399242.html

Debug log: http://pastebin.com/E41XjrbG

Thank you


- MaDDoGo - 2011-01-30

I think you have a bad configured scraper. There was an error (but it downloaded filmaffinity instead of imdb by default). I'll post a new version (hope the last) and I think I'll finally fix it.


- janderclander - 2011-01-30

MaDDoGo Wrote:I think you have a bad configured scraper. There was an error (but it downloaded filmaffinity instead of imdb by default). I'll post a new version (hope the last) and I think I'll finally fix it.

You are totally right, sorry for the inconvenience, newbie fail :/ .
Dunno why it lost the config (prolly my gf) and I didn't check it
Reconfigured and working perfect again, as always.

Thanks a lot for your time and nice work Smile


- MaDDoGo - 2011-01-30

That was a bit of my mistake, because in the pre-configured setings I set one wrong and then it broke the scraper. Now with that fix I fixed the trailers too.


- janderclander - 2011-01-30

So the last fix updates automatically from the repo?