Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new programs by supplying either episode ID or series ID #9

Open
lmmx opened this issue Mar 11, 2021 · 0 comments
Open

Add new programs by supplying either episode ID or series ID #9

lmmx opened this issue Mar 11, 2021 · 0 comments

Comments

@lmmx
Copy link
Owner

lmmx commented Mar 11, 2021

...and then either way store the series ID (if episode ID given, obtain the "parent ID"

  • programme.parent.pid in the JSON at f"https://www.bbc.co.uk/programmes/{episode_id}.json"

It obviously won't be available as a module upon first use, but following this it will be

Also note that the metadata JSON for a series ("brand") gives the channel in its metadata, which can be cross-referenced against the channels list, so it'd be simple to populate a list of 'brands' (either to store or to present as options).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant