Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
if __name__ == '__main__':
articles = read_json()
valid_articles = validate_articles(articles)
for article in valid_articles:
article_details = get_article_details(article)
if (article_details['price'] is not None and
article_details['price'] <= article['target_price']):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment