FastAPI + DDD, Part 3 — Pulling Articles from Medium and Reddit Behind One Port

📰 Medium · Python

Most integrations get bolted on. A new “Medium importer” file calls httpx, parses XML, writes to the database — and the next integration… Continue reading on Python in Plain English »

Published 29 May 2026

Full Article

Title: FastAPI + DDD, Part 3 — Pulling Articles from Medium and Reddit Behind One Port

URL Source: https://python.plainenglish.io/fastapi-ddd-part-3-pulling-articles-from-medium-and-reddit-behind-one-port-62d7205fcfc8?source=rss------python-5

Published Time: 2026-05-29T14:40:23Z

Markdown Content:
[Sitemap](https://python.plainenglish.io/sitemap/sitemap.xml)

[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fpython.plainenglish.io%2Ffastapi-ddd-part-3-pulling-articles-from-medium-and-reddit-behind-one-port-62d7205fcfc8&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)

Get app

[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)

[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fpython.plainenglish.io%2Ffastapi-ddd-part-3-pulling-articles-from-medium-and-reddit-behind-one-port-62d7205fcfc8&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

![Image 1: Unknown user](https://miro.medium.com/v2/resize:fill:64:64/1*dmbNkD5D-u45r44go_cf0g.png)

## [Python in Plain English](https://python.plainenglish.io/?source=post_page---publication_nav-78073def27b8-62d7205fcfc8---------------------------------------)

·
Follow publication

[![Image 2: Python in Plain English](https://miro.medium.com/v2/resize:fill:76:76/1*VA3oGfprJgj5fRsTjXp6fA@2x.png)](https://python.plainenglish.io/?source=post_page---post_publication_sidebar-78073def27b8-62d7205fcfc8---------------------------------------)
New Python content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

# FastAPI + DDD, Part 3 — Pulling Articles from Medium and Reddit Behind One Port

[![Image 3: Dmytro Parfeniuk](https://miro.medium.com/v2/resize:fill:64:64/1*eA078HPADK7aLP7Ex9D0Ag.png)](https://parfeniukink.medium.com/?source=post_page---byline--62d7205fcfc8---------------------------------------)

[Dmytro Parfeniuk](https://parfeniukink.medium.com/?source=post_page---byline--62d7205fcfc8---------------------------------------)

Follow

4 min read

·

May 29, 2026

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fpython-in-plain-english%2F62d7205fcfc8&operation=register&redirect=https%3A%2F%2Fpython.plainenglish.io%2Ffastapi-ddd-part-3-pulling-articles-from-medium-and-reddit-behind-one-port-62d7205fcfc8&user=Dmytro+Parfeniuk&userId=4e611928c814&source=---header_actions--62d7205fcfc8---------------------clap_footer------------------)

50

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Frepost%2Fp%2F62d7205fcfc8&operation=register&redirect=https%3A%2F%2Fpython.plainenglish.io%2Ffastapi-ddd-part-3-pulling-articles-from-medium-and-reddit-behind-one-port-62d7205fcfc8&user=Dmytro+Parfeniuk&userId=4e611928c814&source=---header_actions--62d7205fcfc8---------------------repost_header------------------)

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F62d7205fcfc8&operation=register&redirect=https%3A%2F%2Fpython.plainenglish.io%2Ffastapi-ddd-part-3-pulling-articles-from-medium-and-reddit-behind-one-port-62d7205fcfc8&source=---header_actions--62d7205fcfc8---------------------bookmark_footer------------------)

[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3D62d7205fcfc8&operation=register&redirect=https%3A%2F%2Fpython.pl
Read full article → ← Back to Reads