duck7000 / imdbGraphQLPHP

5 stars 0 forks source link

Streaming info #40

Closed GeorgeFive closed 4 months ago

GeorgeFive commented 5 months ago

IMDb recently added an option to show links to where a movie is available to stream.... this is available on pretty much every movie, but here's an example:

https://www.imdb.com/title/tt2236182/

Any chance we could grab this information?

duck7000 commented 5 months ago

I can't seem to find any links to streaming services on the above link?

screenshot maybe helps?

GeorgeFive commented 5 months ago

Hmmm... maybe this is region specific? You've got icons on the main title page, and it pops up an overlay (no link available for that). 1 2

duck7000 commented 5 months ago

Watch option constraints are limited to region of the request. Region is determined by the x-imdb-detected-country header (gateway determines from request).

WatchOptionsSearchConstraint currently supports a limited set of providers:

'amzn1.imdb.w2w.provider.amazon' (Amazon physical purchase) 'amzn1.imdb.w2w.provider.prime_video': (Prime Video purchase/rental) 'amzn1.imdb.w2w.provider.prime_video.PRIME' (Prime Video subscription) 'amzn1.imdb.w2w.provider.prime_video.freevee' (Freevee free/ads)

The region can be overridden if necessary. But Netflix can not be used

I think that this is complicated, region bounded etc

The only thing i get working is if i use any of the watch options above the results are within that watch option but the watch option is not shown in the results.

So none of the providers in your screenshot can be use or found in GraphQL and yes it is region depended.

I think you are out of luck, only amazon providers are somewhat working

GeorgeFive commented 5 months ago

Dammit... it was worth a try. They might be getting their data from JustWatch, but I'm not a big fan of their way of doing things.... but I guess that's a whole other can of worms, hah.

duck7000 commented 4 months ago

Closing this one, as it not very likely that imdb will support other streaming services