Jump to content

FilmAffinity Workflow


Recommended Posts

fa_logo.png

 

First of all, probably many of you will not know what is Filmaffinity. It is a really big database of movies and series like IMDB, but in Spanish. ^_^

Then, I would like to explain that this is not made with a public API of the web, it is just made with curl, xpath and posts. Yeah, sucks, but it's the only way.

Let's go with the workflow:

 

How it likes

Movie Layout

Captura%20de%20pantalla%202013-03-23%20a

 

Search Layout

Captura%20de%20pantalla%202013-03-23%20a

 

 

What we can do?

 

Plot

Of course, the plot is not only what you see above. You can see all the plot just like this:

 

Captura%20de%20pantalla%202013-03-23%20a

 

Just a little configuration

Well, obviously, I can't access your rating and vote for you if you don't log in with your credentials. You just need to edit the config.txt file:

 

FA_Nick=<nick>
FA_UserName=<username>
FA_Password=<password>

The other thing is that you need to add yourself as a friend of Filmaffinity because the web loads asyncronously your rating info but synchronously your friends ratings, so if you appears between your friends it is easier to retrieve your ratings. And that's because I need also the FA_Nick to discard you from the 'Friends ratings' section and take your rating.

 

Of course, if you don't want to set up your user and password, you can use as well all the other features of the workflow.

 

I hope anyone on the forum to be a Filmaffinity user :P . Anyway I made it for me, and I wanted to share it, so here it goes:

 

Download (v1.0).

 

 

P.S.: If is there any English user of the web, it's always possible to make an english version. ;)

Edited by xuso
Link to comment
  • 2 weeks later...
  • 2 months later...
  • 11 months later...

Hi there!

 

Thanks for the workflow, but it's not working for me. This is what I got from debugging:

 

Starting debug for 'FilmAffiinity'
 
[ERROR: alfred.workflow.input.scriptfilter] Code 255: Fatal error: Call-time pass-by-reference has been removed in /Users/MarceCastro/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.BD06C7A8-D6F2-4558-8548-79A50A30A3C8/colors.php on line 113
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row (null), Col (null): 'Document is empty' in XML:
Fatal error: Call-time pass-by-reference has been removed in /Users/MarceCastro/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.BD06C7A8-D6F2-4558-8548-79A50A30A3C8/colors.php on line 113
[ERROR: alfred.workflow.input.scriptfilter] Code 255: Fatal error: Call-time pass-by-reference has been removed in /Users/MarceCastro/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.BD06C7A8-D6F2-4558-8548-79A50A30A3C8/colors.php on line 113
 
Thanks!
Link to comment
  • 1 month later...
  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...