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
Working but got caught in expected syntax of DICT for streams #1
Comments
@clintm99 can you give me code and output? anyway, pass one item of |
Hi, Thanks.
Figured out I needed to put the whole class in there. Passed output to var object stream
But now when I attempt to get formats, I get KeyError.
Thank you 👍 |
@clintm99 I updated the library, uninstall and reinstall and let me know what you think. problems should be fixed now. |
Crispy and cleaner. Worked like a champ. Top notch. |
I got as far as cr.get_episodes(season_id)
and now I need to get the streams and formats, but I'm stuck on expected syntax for get_streams.
My example output from get_episodes()
cr.get_episodes(season_id)
was
...
'links': {'episode/channel': {'href': '/cms/v2/US/M3/crunchyroll/channels/crunchyroll'}, 'episode/season': {'href': '/cms/v2/US/M3/crunchyroll/seasons/GY1X4ZQ2Y'},
'episode/series': {'href': '/cms/v2/US/M3/crunchyroll/series/GR4PVDGEY'}, 'streams': {'href': '/cms/v2/US/M3/crunchyroll/videos/GM8FXDG8M/streams'}}
..
but expected DICT format was unknown with error when I try various ways of inputting what is expected:
line 98 in get_streams
episode["links"]["stream"]["href"]
Can you give me example expected syntax for get_streams and get_format based on get_epidode() output?
Glad someone is doing the work with CR beta.
Thanks!
The text was updated successfully, but these errors were encountered: