IMDb Credits Scraper Function

Job ID: 40169436

Budget: $30 – $250 USD

I need a clean, dependable Python routine that accepts an IMDb title ID (for instance, “tt10298810”) and returns every name shown on that film’s /fullcredits page. The function must rely on a straightforward HTTP approach—requests, httpx, urllib, or similar—so please keep any headless-browser or WebDriver tools out of the stack.

When the function is called, it should:

• Fetch the credits page, parse it, and compile a flat list of all credited individuals
• Return that list as JSON so I can hand it straight to downstream research scripts.
• Ignore any partial or blank credit blocks and simply move on (no exceptions or warnings needed).

No role-based grouping is necessary; I only need the raw names. Before handing over the code, please run the routine against several recent titles to be sure it consistently captures everyone on the page.

Deliverables I expect:

• A single .py file containing the function with clear docstring usage notes.
• A short README (or inline comments) outlining any external libraries you imported—ideally just requests and BeautifulSoup or lxml.
• A couple of sample calls showing JSON output for at least two test titles.

The simpler and more lightweight the implementation, the better. Let me know if anything in the spec needs clarification. Here is an example fullcredits page:

https://www.imdb.com/title/tt10298810/fullcredits/

Thank you!

NOTE: I'm getting a lot of uninformed bids. IMDb uses AWS WAF as an anti-scraping measure, so in your bid, please detail that you're aware of this and that your solution will be able to get around it. This is the main roadblock to me just doing it myself. It would also be hugely helpful if you could provide a sample output of any random title, I don't care which, just one with a large credits list so I can see that you do understand the project. Thanks!