IMDb Credits Scraper Function

Замовник: AI | Опубліковано: 22.01.2026
Бюджет: 250 $

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!