Created
September 25, 2022 22:36
-
-
Save rahulbanerjee26/3537b42b047a776b53376465bc216b0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
medium_post_content_html = markDownToHtml(medium_markdown_content) | |
medium = MediumPoster(MEDIUM_TOKEN, domain) | |
medium_url = medium.create_post_medium( | |
title, | |
medium_post_content_html, | |
canonicalUrl=wp_post_url, | |
tags=tags) | |
print(f'Find Medium Post: {medium_url}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment