Page 14 of 15

Re: Moviemeter.nl problem

Posted: 2018-07-30 00:11:06
by StefMir
Goodnight,

I have some trouble getting the "Lengte" (Length) from moviemeter.nl with the script.

Not with all movies but with about 1/3 of them...

It seems to be with movies with "geen stemmen" (no votes).

for example some not working:

https://www.moviemeter.nl/film/49489
https://www.moviemeter.nl/film/44801
https://www.moviemeter.nl/film/16589

Maybe someone can check and fix the script?

t.i.a.

-edit-

if there are nog actors, I get

ogen" class="emoji emojione" data-code="8|">

as actor

example:
https://www.moviemeter.nl/film/1120002

and then no "length" data is imported too

Re: Moviemeter.nl problem

Posted: 2019-05-30 18:24:55
by wvd
Hi,

There's a problem importing the movie name and the description!

You have to change these three lines in the script

Line 22:
Line := TextBetween(PageText, '<h1><span itemprop="name" dir="ltr">', '</h1>');
change in:
Line := TextBetween(PageText, '<h1><span dir="ltr">', '</h1>');


Line35:
Value := TextBetween(PageText, '<h1><span itemprop="name" dir="ltr">', '</h1>');
change in:
Value := TextBetween(PageText, '<h1><span dir="ltr">', '</h1>');

Line 138:
Value := TextBetween(Line, '<p itemprop="description">', '</p>');
change in:
Value := TextBetween(Line, '<p>', '</p>');

succes!
Wim

Re: Moviemeter.nl problem

Posted: 2019-05-31 06:50:16
by antp
Thanks, I updated it as v2.8.46
(not tested, so I trust you :lol: )

Re: Moviemeter.nl problem

Posted: 2019-10-21 15:23:27
by StefMir

Re: Moviemeter.nl problem

Posted: 2019-12-10 22:07:48
by wvd
Hello,

When I try to get the the movie information, I get a error message:

"Error connecting with SSL"

Does anyone know how to solve this problem?

Greetings
Wim

Re: Moviemeter.nl problem

Posted: 2019-12-11 18:34:44
by antp
Which movie for example?
For me it seems to work.
Do you have the version 2.8.46 of the script? And 4.2.2 of the application?

Re: Moviemeter.nl problem

Posted: 2019-12-13 18:35:23
by wvd
Hi,

I was not running the latest version :ha:

I will test it later

Greetings,
Wim

Re: Moviemeter.nl problem

Posted: 2019-12-13 22:51:52
by wvd
Hi Antoine,

It works fine again.
Thanks for your reply

Greetings
Wim

Re: Moviemeter.nl problem

Posted: 2020-03-04 19:48:16
by MDFanatik
For me, the latest moviemeter.nl script isn't working properly. The category field gets warbled : it states "Links Imdb " an d then the rating. Lenght of the movie isn't imported. COuld you pelase have a look at it?
When I change the country part in the script to this:
// Country
Line := TextBetween(PageText, '</div>', '</p>');

then it works again.

Re: Moviemeter.nl problem

Posted: 2020-03-05 08:47:32
by antp
Thanks, indeed it seems to fix the problem.
I updated the script on the server (2.8.47)

Re: Moviemeter.nl problem

Posted: 2020-03-26 22:13:41
by wvd
Hello Antoine,

There's a little problem with the script agian.
I don't know if many will notice, because it to import the Trailer.

But if you change this:

// Trailer
if GetOption('Trailer') <> 0 then
begin
if Pos('<h2>TRAILER</h2>', PageText) <> 0 then
begin
Value := TextBetween(PageText, '<a href="https://www.youtube.com/watch?v=','" >');
HTMLRemoveTags(Value);
HTMLDecode(Value);
Value := 'https://www.youtube.com/watch?v='+FullTrim(Value);
SetField(fieldComposer, Value);
end;
end;

Into this:

// Trailer
if GetOption('Trailer') <> 0 then
begin
Value := TextBetween(PageText, '<a href="https://www.youtube.com/watch?v=','" >https');
HTMLRemoveTags(Value);
HTMLDecode(Value);
Value := 'https://www.youtube.com/watch?v='+FullTrim(Value);
SetField(fieldComposer, Value);
end;

The problem is solved.

Greetings,
Wim

Re: Moviemeter.nl problem

Posted: 2020-03-27 17:32:21
by antp
Hi,
Thanks, but I think that a more reliable way would be to update the check on the trailer title.
So it seems that replacing
<h2>TRAILER</h2>
by
<h2>Trailer</h2>
is better.
Otherwise if there is no trailer, there could be unexpected results.

I updated the file on the server as version 2.8.48

Re: Moviemeter.nl problem

Posted: 2020-04-03 20:00:58
by wvd
Hi Antoine,

Thanks for the help!


Now I get a fault:
Socket Error # 11001
Host not found

If I fill in the URL in the program it does find the movie.

If you go to the site Moviemeter, you first have to approve the popup for cookies
Maybe that's the problem

Hope someone can fix it

Re: Moviemeter.nl problem

Posted: 2020-04-04 08:11:23
by antp
Hi,
It seems that now in the search results they send back the full address (with domain name in from of the page/movie number), and we were adding an extra "https://www.moviemeter.nl" in front of that.
I uploaded a new version (2.8.49), it seems to work at least for the case I tested :D

Re: Moviemeter.nl problem

Posted: 2020-04-05 18:25:42
by wvd
Hi Antoine,

Thanks again, works fine again! :grinking: :grinking:

Re: Moviemeter.nl problem

Posted: 2021-06-21 10:40:21
by pele
Hi ,

I got an error message with the movemeter script v.2.8.50:
http/1.1 400 bad request.

If i look up the film directly in moviemeter https://www.moviemeter.nl/film/1135243
and copy the link into the search box it works however

The info i retrieved for the field extra's seems also not correct:
Releasedatum: 17 juni 2021
<a href="https://moviemeter.nl/toplijst/film/534 ... 021"><span class="tag bluetag"><B>15e</B> in Top 50 beste films uit 2021</span></a>
Ververs datum: 21 juni 2021

What is the solution?

Re: Moviemeter.nl problem

Posted: 2021-06-23 17:37:11
by antp
The error when using the search is still to be investigated/fixed.

But I already fixed the one with the comments, as version 2.8.51

Re: Moviemeter.nl problem

Posted: 2021-08-31 14:47:00
by pele
Hi,

any idear if, can and when the "bad"error will be solved?

I see in the comments not only the "realease datum" but also the "ververs datum".
the "originele titel" is also not filled in properly and the "regisseur" field is filled in with "!"

Thx Bianca

Re: Moviemeter.nl problem

Posted: 2021-09-03 05:56:15
by antp
I should take some time to check that. I don't know if I can solve the 'bad request' problem but the others one should be easy to fix.

Re: Moviemeter.nl problem

Posted: 2021-09-27 17:03:40
by Freeco
bump ;)

wouldn't know how to troubleshoot this on my own, so I have to rely on someone else to fix this. I also get 'HTTP/1.1 400 Bad Request' error with the Moviemeter.nl script the past could of weeks.
Till now I'm relying on the IMDB script instead, but I'd prefer using the dutch site again.
If you'd find some time for this... :grinking: