OFDb-mobi-IMDb Update

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
gerol
Posts: 43
Joined: 2006-08-08 16:12:03

OFDb-mobi-IMDb Update

Post by gerol »

I repaired the OFDb-mobi-IMDb script. Everything should work again. This time it took a little longer because IMDB has seemingly randomly presented the 'fullcredits' sub-page in the old or new design in the last few weeks. So I would have had to program the script twice. That makes no sense for a short transition period. Now only the new design seems to be coming (I hope in all countries).

It is updated on the server. So it can be retrieved via "Update scripts".

Gerol
gerol
Posts: 43
Joined: 2006-08-08 16:12:03

Re: OFDb-mobi-IMDb Update

Post by gerol »

IMDB has reprogrammed the 'reference' sub-page. I adapted the script accordingly.

It is updated on the server. So it can be retrieved via "Update scripts".

Gerol
gerol
Posts: 43
Joined: 2006-08-08 16:12:03

Re: OFDb-mobi-IMDb Update

Post by gerol »

IMDB has reprogrammed the 'fullcredits' sub-page. I adapted the script accordingly.

It is updated on the server. So it can be retrieved via "Update scripts".

Gerol
gerol
Posts: 43
Joined: 2006-08-08 16:12:03

Re: OFDb-mobi-IMDb Update

Post by gerol »

IMDB has reprogrammed the 'fullcredits' sub-page. I adapted the script accordingly.

It is updated on the server. So it can be retrieved via "Update scripts".

It took a little longer again because IMDB has been using the old or new code in recent days, seemingly at random. I hope that the new code has now become established.

Gerol
gerol
Posts: 43
Joined: 2006-08-08 16:12:03

Re: OFDb-mobi-IMDb Update

Post by gerol »

Hello everyone,

I need some help. IMDb has redesigned its pages (especially the 'fullcredits' subpage). Many new categories have been added. However, IMDb now checks if JavaScript is enabled and doesn't provide usable page source code if it isn't. I can analyze the page source code if I access IMDb through a web browser (Firefox, Edge, Chrome) with JavaScript enabled. If I retrieve the subpage using AMC (GetPage), I only get a very short text that I can't use, ending with the following code:

<noscript>
<h1>JavaScript is disabled</h1>
In order to continue, we need to verify that you're not a robot.
This requires JavaScript. Enable JavaScript and then reload the page.
</noscript>

I suspect I can't enable JavaScript in AMC. Any other ideas?

Thanks

Gerol
antp
Site Admin
Posts: 9836
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: OFDb-mobi-IMDb Update

Post by antp »

We had that issue with IMDb a few days ago (cf the IMDb thread) but it went back as before shortly after. They probably block non-browser requests from time to time, possibly depending on the load on their servers.
But as far as I know, there is no workaround in case it is blocked like what you encountered. For Filmaffinity there was a workaround possibility using cURL, but that didn't seem to work for IMDb.
gerol
Posts: 43
Joined: 2006-08-08 16:12:03

Re: OFDb-mobi-IMDb Update

Post by gerol »

Hi ant,

thank you very much for the answer. I'll test this. Luckily it's working again at the moment.

Greetings

Gerol
Post Reply