The official/standard version of the FilmAffinity scraper produces Spanish language results. There's nothing wrong with that but the FilmAffinity website does offer an English language option and this maybe useful for some people.
As part of an effort to learn how to construct a Scraper, I have made a start at converting the Spanish version to access the English language version.
While the main difference is changing the country/language code in the URLs from es for Espagne to en for English the section that deals with actually scrapping the results also needs changing to look for different keywords. I have made a start on that as well but it still needs additional work.
As currently my knowledge of scrapers is limited I am hoping others here may assist in finishing it.
My initial version can be downloaded here http://homepage.mac.com/jelockwood/.Publ...nityen.zip
[RELEASE] FilmAffinity (Spanish) scraper
jelockwood
Senior Member Posts: 111 Joined: Mar 2008 Reputation: 0 |
2008-07-26 14:52
Post: #31
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2008-08-07 11:04
Post: #32
if changing the language code is the only change needed, you should do it as a scraper setting. add the valid values to a spinner setting, you can see the tvdb scraper for how that is done (dont mind the extra complication of grabbing the valid line online). then you just replace the language code with $INFO[language] (if you called the setting language).
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
jelockwood
Senior Member Posts: 111 Joined: Mar 2008 Reputation: 0 |
2008-08-07 11:59
Post: #33
spiff Wrote:if changing the language code is the only change needed, you should do it as a scraper setting. add the valid values to a spinner setting, you can see the tvdb scraper for how that is done (dont mind the extra complication of grabbing the valid line online). then you just replace the language code with $INFO[language] (if you called the setting language). While the main change is es vs en in URLs, the text labelling the fields also changes from Spanish to English meaning the regex code to match fields needs modifying as well. I have now managed to get all but two of the available working fields, there are some fields not listed on the English version one of which is the plot (so nothing can be done about that). The two fields not working, Writer and Duration, should work and I cannot see why. Even the cast list, movie rating and movie thumbnail works. I will upload my latest effort tonight to the same URL as per my previous message in this thread. For your information, the English search result I have been testing against is at http://www.filmaffinity.com/en/film699914.html and the Spanish version is of course http://www.filmaffinity.com/es/film699914.html |
| find quote |
HectorziN
Senior Member Joined: Mar 2007 Reputation: 0 Location: Barcelona (Spain) |
2008-10-02 22:57
Post: #34
Hi spiff, filmaffinity web, has a link to trailers of the movies, but this trailers are in youtube.
It is possibly to put as an url for the trailer a link to a youtube video? I had try with same differents ways of youtube urls and xbmc don't show the videos. Do you know how to put for example this trailer? http://www.youtube.com/v/sQf8kP1dzPU Thanks! HectorziN |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2008-10-03 12:29
Post: #35
i do not know, i suggest you look at one of the youtube plugins/scripts
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
HectorziN
Senior Member Joined: Mar 2007 Reputation: 0 Location: Barcelona (Spain) |
2008-10-07 11:24
Post: #36
I did it.
The scraper now downloads actors thumbnails and also have a link for youtube trailers. I have tried to upload the new xml scraper but Sourceforge has changed and I cannot find a way to do it. I don't know if I must to be a member in xbmc or something like that, but I cannot do it. How can i submit this change? thanks! HectorziN |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2008-10-07 12:57
Post: #37
xbmc.org/trac is our new tracker
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
HectorziN
Senior Member Joined: Mar 2007 Reputation: 0 Location: Barcelona (Spain) |
2008-10-07 22:39
Post: #38
But can I submit a file without the use of any software?
I think it needs a software to upload files, right? thanks HectorziN |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2008-10-08 11:21
Post: #39
no software required. create a new ticket, tick 'i have files to attach to this ticket'
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
HectorziN
Senior Member Joined: Mar 2007 Reputation: 0 Location: Barcelona (Spain) |
2008-10-13 13:56
Post: #40
How can I create a ticket? I only see an option to view tickets, not create.
Should I be registered to do this? I cannot see a link to register, only one to login. Thanks HectorziN |
| find quote |


Search
Help