Page 4 of 4

Re: [REL] IMDB

Posted: 2025-11-01 12:52:49
by Mickxe
It's unable to get the movie number in the procedure AnalyzeMoviePage, so it's trying to get a page that doesn't exists, "https://www.imdb.com/title/tt/reference"

Adding another if statement to catch the number let me run the script again, this worked for me:

if MovieNumber = '' then
MovieNumber := TextBetween(PageText,'"meta":{"canonicalId":"tt', '","publicationStatus');

Image

Maybe more things need to be adjusted, there's nothing like "rel="canonical"" or "legacy/title" in the page source anymore.

Re: [REL] IMDB

Posted: 2025-11-02 13:25:26
by antp
Thanks!
Often it is indeed just small changes like this, I didn't had time in the last days to check what was the issue.
The rest of the code is probably useless, from older versions of the site. Some day some cleaning should be done, but just in case old pages are sometimes returned in some cases, I tend not to delete these too quickly :)
I added a test so the next time it can not extract the movie number, it stops with a message rather than continue with an invalid address.

Re: [REL] IMDB

Posted: 2025-11-02 15:10:16
by Dorohedoro
Mickxe wrote: 2025-11-01 12:52:49 It's unable to get the movie number in the procedure AnalyzeMoviePage, so it's trying to get a page that doesn't exists, "https://www.imdb.com/title/tt/reference"

Adding another if statement to catch the number let me run the script again, this worked for me:

if MovieNumber = '' then
MovieNumber := TextBetween(PageText,'"meta":{"canonicalId":"tt', '","publicationStatus');

Image

Maybe more things need to be adjusted, there's nothing like "rel="canonical"" or "legacy/title" in the page source anymore.
Thanks! it's working again.

Almost everything fine on my end, besides not extracting the awards and ignoring some aspect ratios.

Re: [REL] IMDB

Posted: 2025-11-02 16:55:55
by phil5660
It's working for me, many thanks !