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

Switch Podnapisi.NET to json API. #956

Merged
merged 2 commits into from May 9, 2020
Merged

Conversation

ratoaq2
Copy link
Collaborator

@ratoaq2 ratoaq2 commented Feb 24, 2019

It would be nice if some users could try it
@MasterMind2k @hachel

@ratoaq2 ratoaq2 force-pushed the feature/podnapisi-json branch 2 times, most recently from 1940c2d to b72afc9 Compare February 24, 2019 12:40
@ratoaq2 ratoaq2 added this to the 2.1 milestone Feb 24, 2019
Copy link

@MasterMind2k MasterMind2k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

page_link = data['url']
releases = data['releases'] + data['custom_releases']
title = data['movie']['title']
season = int(data['movie']['episode_info']['season']) if is_episode else None

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Season and episode may not be defined. I believe using a get with apropriate default value would be a better choice.

@ratoaq2 ratoaq2 merged commit 84bff2d into develop May 9, 2020
@ratoaq2 ratoaq2 deleted the feature/podnapisi-json branch May 9, 2020 10:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants