r/learnpython • • 21d ago

How to create/find streaming service links?

I'm currently writing a script that tells me what episodes of a tv show came out this day in history, for prototyping I'm using the Simpsons and while I found a good dataset that includes everything I need for it to work. I now want to implement a system that also gives the link to the episode in Disney plus in the output, and I was wondering how to do this as simply as possible?

0 Upvotes

6 comments sorted by

View all comments

2

u/patryk_builds 21d ago

Disney+ has no public API, so there's no clean way to generate episode links automatically.

simplest options:

- TMDB's API has a watch providers endpoint that tells you where a show streams per country. it won't give a direct episode link though, just a link to a page listing the services

- if you only need the simpsons, grab the episode links once by hand (or semi-manually) and store them as a column in your dataset next to season/episode. ~800 rows sounds like a lot, but it's a one-time job and then it just works

I'd do the TMDB one first, a watch on disney+ link to the show is usually good enough

1

u/KarfaHyro_17 19d ago

agreed, linking to the main show page is usually plenty for a prototype anyway.