Closed Omertron closed 9 years ago
Comment #1 originally posted by Omertron on 2014-08-28T06:41:26.000Z:
I have exactly the same problem. Access to Allocine return now a 403 error. I use YAMJ 2.10 SNAPSHOT r3905 on Linux. (I try r3900 ... the same problem) I have a little PHP script to fetch Allocine, with the same API key as YAMJ, and this script works fine ... In PHP I use API_KEY_Allocine_Partner=100043982026 API_KEY_Allocine_Secret=29d185d98c984a359e6e6f26a0474269 Very strange behaviour ....
Daniel
Comment #2 originally posted by Omertron on 2014-08-28T07:46:53.000Z:
I do some investigation with TCPDUMP
YAMJ access ==> return 403 .... ==>GET /rest/v3/movie?partner=100043982026&code=206727&profile=large&filter=movie&striptags=synopsis%2Csynopsisshort&format=json&sed=20140828&sig=eA7Nq%2B98eBvDq9KU5aLUr1xCxZQ%3D HTTP/1.1 ==>User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.0.3; GT-P3100 Build/IML74K) ==>Proxy-Authorization: Basic Og== ==>Host: api.allocine.fr ==>Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2 ==>Connection: keep-alive
PHP with Curl with the same Allocine ID film ==> Return OK ==>GET /rest/v3/movie?partner=100043982026&code=206727&profile=large&filter=movie&striptags=synopsis%2Csynopsisshort&format=json&sed=20140828&sig=eA7Nq%2B98eBvDq9KU5aLUr1xCxZQ%3D HTTP/1.1 ==>User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.2.2; Nexus 4 Build/JDQ39E) ==>Host: api.allocine.fr ==>Accept: /
The only difference is the user agent, Accept and Connection keep-alive ....Very strange ...
And it's amazing, but after a successful access via PHP for an Allocine ID, YAMJ is working again for this ID?
Comment #3 originally posted by Omertron on 2014-08-28T14:51:16.000Z:
After some others tests, It seems that the user agent is the problem. Maybe blocked by Allocine ? I see in another project that the developer uses random user agent to avoid block... Maybe an idea to follow? https://gitorious.org/valos-labs/mobine/commit/3feb534b9f5c86e606420df58b5e2417b013b7cb
Daniel
Comment #4 originally posted by Omertron on 2014-08-30T12:12:46.000Z:
I have the same problem
Comment #5 originally posted by Omertron on 2014-09-01T01:40:29.000Z:
Same issue
Comment #6 originally posted by Omertron on 2014-09-01T06:41:48.000Z:
Hello,
I've got the same issue (error 403) with the api allocine. Ymaj version 2.10-SNAPSHOT Revision: r3905
Comment #7 originally posted by Omertron on 2014-09-01T12:44:04.000Z:
Hello, For now I use TheMovieDB plugin instead of the AlloCine plugin. I'm from france and it have multilanguage "support" for most movie.
if the movie scanned has no translations for it, then it will display the plot as UNKNOW. Then create a .nfo file near your movie like:
For the movie "Wing Chun" the avi is call:
Hope it help.
Comment #8 originally posted by Omertron on 2014-09-01T23:18:11.000Z:
oui moi aussi sa commencer a faire sa avez vous des sollutions merci
Comment #9 originally posted by Omertron on 2014-09-02T07:19:26.000Z:
me too +1 help please
Comment #10 originally posted by Omertron on 2014-09-03T21:28:24.000Z:
Issue 2744 has been merged into this issue.
Comment #11 originally posted by Omertron on 2014-09-05T11:22:36.000Z:
for information, this morning (September 5) the problem with allocine site had disappeared... I indexed with YAMJ twenty films without any problem (version r3905) Let's hope it lasts. D.
Comment #12 originally posted by Omertron on 2014-09-05T23:36:03.000Z:
It's working again for me too.
Comment #13 originally posted by Omertron on 2014-09-06T05:10:52.000Z:
same for me , this issue could be closed
Comment #14 originally posted by Omertron on 2014-09-08T07:03:28.000Z:
Also fixed with release r3907
Original issue 2742 created by Omertron on 2014-08-27T15:42:20.000Z:
I think there is problem with the apikeys use by the allocine plugin for exemple:
http://api.allocine.fr/rest/v3/search?partner=QUNXZWItQWxsb0Npbuk&filter=movie,theater,person,news,tvseries&count=5&page=1&q=avatar&format=json
return a 403 error
I use YAMJ 2.10 SNAPSHOT r3905 on Windows 8.1 x64 and Eversion YAMJ r0179c with Whisper skin. on Popcornhour A-200