Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
my suspicion is that you are bitten by the fact that order matters.
remember, the clearbuffers parameter say to not clear buffers after function calls.
so the point here is to
1) fill buffer 13
2) fill buffer 15
3) fill buffer 16
4) call GetIMDBPoster
not
1) fill buffer 13
2) fill buffer 15
3) call GetIMDBPoster
4) fill buffer 16
and i assume GetFilmAffinityPoster has clearbuffers="no"
Posts: 107
Joined: Mar 2007
Reputation:
0
Thanks, I got it. The problem was the order of functions.
I am testing with PC version and it works searching for cariño.
Is in xbox where don't work. It is possible that SearchStringEncoding is not implemented in xbox version?
thanks
Posts: 107
Joined: Mar 2007
Reputation:
0
I am searching for actor thumbs in imdb.
I have a problem with animation movies, in filmaffinity site de actor for this case is: "Animation"
Then my scraper searchs for animation in imdb and always finds this: Chuck Jones.
How can I avoid searching for actors when the actor is Animation? I should try to remove the Animation code from the buffer to avoid the scraper find it....
Thanks
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
use an expression that clears a buffer IF you find animation. let this buffer hold the function call. clear if expression matches. append the buffer. problem solved.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
i assume buffer 9 is never transfered to the one containing the return value from the scraper function..
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
you need noclean on the outermost expression or all tags will be stripped off
Posts: 107
Joined: Mar 2007
Reputation:
0
By the way, with Atlantis version searchstringencoding works!!!!
Posts: 404
Joined: Oct 2008
Reputation:
0
Is not working on current version (9.04 beta)
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yes, i commited a fix at r19978