惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Heimdal Security Blog
SecWiki News
SecWiki News
H
Hacker News: Front Page
N
News | PayPal Newsroom
L
LINUX DO - 最新话题
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
AI
AI
C
Cybersecurity and Infrastructure Security Agency CISA
Scott Helme
Scott Helme
PCI Perspectives
PCI Perspectives
S
Securelist
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Cyberwarzone
Cyberwarzone
A
Arctic Wolf
Forbes - Security
Forbes - Security
T
Tor Project blog
Spread Privacy
Spread Privacy
WordPress大学
WordPress大学
I
Intezer
Martin Fowler
Martin Fowler
Help Net Security
Help Net Security
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Cisco Talos Blog
Cisco Talos Blog
Latest news
Latest news
博客园 - 司徒正美
W
WeLiveSecurity
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
P
Palo Alto Networks Blog
Google DeepMind News
Google DeepMind News
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
V
Vulnerabilities – Threatpost
Jina AI
Jina AI
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
T
Threatpost
P
Privacy International News Feed
人人都是产品经理
人人都是产品经理
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
DEV.to Scraper: pull articles by tag, author, or feed into clean JSON
Devil Scrapes · 2026-05-31 · via DEV Community

Quick answer: DEV.to (built on the Forem platform) publishes a public v1 REST API at https://developers.forem.com/api/v1 — but it paginates 30 articles at a time and offers no bulk-by-tag export beyond the first 1,000 items. A DEV.to scraper fans out across those paginated endpoints, fetches each article's full Markdown body in parallel, and returns one clean typed row per article. The Apify Actor below does it for $0.002 per article ($2.00 per 1,000), with rate-limit pacing, retries, and Pydantic-validated rows handled for you.

DEV.to's feed is one of the richest free sources of developer-written technical content on the web. On any given day the python tag alone has thousands of articles — tutorials, opinions, walkthroughs, career posts — each with engagement signals (reactions, comments, reading time) attached. The platform's UI surfaces individual articles just fine. What it doesn't give you is a download button, a bulk-export endpoint, or a way to pull every article in a tag across the full history. The API hands back 30 at a time, then stops answering after 1,000 items per tag.

If you want this as a dataset — to seed a RAG corpus, run an engagement benchmark, or mirror an author's catalogue — you have to stitch it together yourself. Here's what that involves, and how I turned it into a one-call Actor.

What is DEV.to? 🔎

DEV.to is a community publishing platform for software developers, built on Forem — the open-source publishing engine that also powers CodeNewbie and several smaller communities. Launched in 2016, DEV.to hosts millions of articles across tags like python, webdev, typescript, beginners, and ai, written by everyone from student bloggers to senior engineers.

What makes DEV.to useful as a data source:

  • Every article carries structured engagement metrics: positive reactions, comments, and reading time
  • Articles are tagged with community-maintained taxonomy (lowercase tags like javascript, devops, aws)
  • The body of every article is available as raw Markdown — ready to embed in a vector store without stripping HTML
  • Authorship is consistent: every article has a username and display_name, making per-author analysis straightforward

What the platform does not give you: a bulk export, a search-by-keyword endpoint, or a way to get all articles in a tag older than the most recent thousand.

Does DEV.to have an API? 🔌

Yes — but it has meaningful limits. DEV.to's Forem v1 API is public for read access, requires no API key for GET /articles, and is reasonably well-documented. That's genuinely the good news.

The constraints that send people looking for a scraper:

  • 30 articles per page, hard cap. You can request per_page=30 — that's the max the server will honor. Getting 10,000 articles means 334 sequential (or carefully paced parallel) requests.
  • Tag endpoint cuts off at 1,000 items. Past page 34, the API returns empty arrays. There's no cursor mechanism, no since timestamp, and no workaround documented by Forem.
  • Body Markdown requires a second request. GET /articles returns metadata. To get body_markdown you need a GET /articles/:id call per article — one extra round trip for every row you want full-text on.
  • Rate limits are real and undocumented. Hit them and you get 429s with no Retry-After header. Retry naively and you accumulate backoff penalties.

None of that is a dealbreaker on its own. Together, for a 10,000-article corpus pull, it's several hours of babysitting a script. That's the gap the Actor fills.

What the data looks like

Each article becomes one flat, typed row. Here's a real-shaped output record with all 16 fields from models.py:

{
  "id": 1893402,
  "slug": "build-a-rag-pipeline-with-python-and-chroma-3x7k",
  "title": "Build a RAG pipeline with Python and Chroma",
  "description": "A step-by-step guide to building a retrieval-augmented generation system using Python, ChromaDB, and the OpenAI API.",
  "url": "https://dev.to/pythonista/build-a-rag-pipeline-with-python-and-chroma-3x7k",
  "cover_image": "https://media2.dev.to/cdn-cgi/image/quality=100/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xyz.jpg",
  "tags": ["python", "ai", "machinelearning", "beginners"],
  "author_username": "pythonista",
  "author_name": "Alex Chen",
  "reading_time_minutes": 8,
  "positive_reactions_count": 347,
  "comments_count": 19,
  "body_markdown": "## Introduction\n\nRetrieval-augmented generation (RAG)...",
  "published_at": "2026-04-12T09:14:00Z",
  "edited_at": "2026-04-14T11:02:00Z",
  "scraped_at": "2026-05-29T08:22:41+00:00"
}

Enter fullscreen mode Exit fullscreen mode

Sixteen fields, consistent shape every time, Pydantic-validated before the row is written. It drops straight into Pandas, a vector store, or BigQuery with no field-wrangling on your side.

The naive approach (and why it falls apart) 🔧

The obvious script goes like this:

import httpx, json

articles = []
page = 1
while True:
    resp = httpx.get(
        "https://dev.to/api/articles",
        params={"tag": "python", "page": page, "per_page": 30}
    )
    batch = resp.json()
    if not batch:
        break
    articles.extend(batch)
    page += 1

Enter fullscreen mode Exit fullscreen mode

This works until it doesn't. Three failure modes that matter at scale:

1. The 1,000-item ceiling. Around page 34 the API returns an empty list for any tag endpoint. There's no error, no header — just silence. A naive loop exits thinking it finished. You have 1,000 rows instead of the 12,000 that exist.

2. The body-fetch N+1 problem. Want Markdown? Every article needs a second GET /articles/:id. For 1,000 articles that's 1,000 extra requests. We handle this with a concurrency parameter — up to 16 parallel body fetches — so the Actor fans out rather than serializing. We pace those fetches and retry with exponential backoff on 408 / 429 / 5xx, up to 5 attempts per article before we surface a partial-success status rather than handing you a half-empty dataset.

3. Rate limits that arrive unannounced. DEV.to's rate-limit threshold isn't published; it varies by endpoint and time of day. We back off on rate-limit signals and reset the session rather than triggering a retry storm — and we surface a set_status_message so you know what happened, rather than silently returning fewer articles than you asked for.

We rotate browser fingerprints via curl-cffi so requests look like a real browser's TLS handshake, and we thread Apify residential proxies on every session rotation — fresh exit IP, fresh cookie jar — so a single blocked IP doesn't kill the run.

The Actor

I packaged this as an Apify Actor: DEV.to Articles Scraper.

Open the Apify Console and click Start, or run it programmatically with the Apify Python client:

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("DevilScrapes/dev-to-articles-scraper").call(
    run_input={
        "mode": "tag",
        "tag": "python",
        "includeBody": True,
        "maxResults": 500,
        "concurrency": 8,
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item["positive_reactions_count"])

Enter fullscreen mode Exit fullscreen mode

The four mode values from the input schema:

Mode What it fetches
tag All articles for a given tag (e.g. python, ai, webdev)
username All articles by a specific DEV.to author
latest Global latest feed — newest articles across all tags
top Top articles of all time across the platform

Set includeBody: false if you only need metadata — that halves the request count and the run time. maxResults caps the total rows; concurrency controls how many body fetches run in parallel (1–16, default 4).

Use cases

RAG corpus seeding. Pull mode=tag, tag=python, includeBody=true, maxResults=1000 to get 1,000 Python tutorials in raw Markdown. Each article is already chunked — the body_markdown field is the unit. Embed it directly into Chroma, Pinecone, or Weaviate. The url and author_username fields give you citation metadata for free.

Trending tag dashboards. Schedule a daily run on mode=tag, tag=ai with maxResults=50. Diff today's positive_reactions_count against yesterday's — any article that gained more than 50 reactions in 24 hours is trending. Wire it into a Slack webhook and you have a free daily briefing.

Author monitoring and portfolio analysis. Pull mode=username for a specific author to mirror their full catalogue. Useful for DevRel teams tracking competitor advocates, recruiters benchmarking engineering blog authors, or writers building a personal analytics dashboard outside DEV.to's own stats page.

Newsletter assembly. Pull mode=top or mode=latest with maxResults=10, sort by positive_reactions_count, and render the top 5 to Markdown for a weekly digest. The reading_time_minutes field tells readers upfront what they're committing to.

Engagement benchmarking. Pull 500 articles in a tag, group by author_username, and compute average reactions per post — a simple "who are the most impactful writers in this niche?" query for sponsorship research, guest-post pitching, or a contributor leaderboard.

Pricing — exact numbers 💰

Pay-per-event. You pay for articles written to your dataset, nothing for the ones you don't get.

  • $0.005 per run (covers the Actor warm-up)
  • $0.002 per article written to the dataset
Pull Cost
30 articles (default) $0.07
100 articles $0.21
1,000 articles $2.01
5,000 articles $10.01
10,000 articles $20.01

Apify's $5 free trial credit covers your first ~2,490 articles with no credit card required. No subscription, no minimum, no charge for runs that return zero results.

The technically interesting bit

DEV.to's API officially cuts off article listings at 1,000 per tag — but the per-article GET /articles/:id endpoint has no such limit. So a full corpus is achievable by combining the listing endpoint (for IDs) with the detail endpoint (for bodies): even when the listing only goes 34 pages deep, you can supplement IDs from the username endpoint, the latest feed, or a prior run's dataset. The Actor exposes this as a design choice — mode=tag is the fast lane for recent articles; mode=latest is the slow lane for full-history accumulation over scheduled runs. Both paths produce identical row shapes, so your downstream pipeline never needs to know which mode fed it.

Limitations 🚧

  • Tag endpoint hard cap at ~1,000 items. The DEV.to v1 API does not paginate beyond this for the tag feed. Full-history pulls require either the username mode (per-author) or multiple scheduled latest-mode runs.
  • Body Markdown is the API's version. If an author used DEV.to's rich editor with embedded Liquid tags (custom video/link cards), those render as raw Liquid syntax in the Markdown — not HTML. Post-processing is on you.
  • No comment bodies. comments_count is in the metadata, but fetching individual comment threads would multiply the request count significantly. Not in scope for v1.
  • No read-time filtering at the API level. You can filter post-scrape, but the API doesn't accept a min_reading_time param. Download the dataset and filter in Pandas.
  • Private/draft articles are inaccessible. The public API only surfaces published, non-hidden articles.

FAQ

Is scraping DEV.to legal?
This Actor calls DEV.to's own published public API (https://developers.forem.com/api/v1) — no authentication bypassed, no HTML scraped, no undocumented endpoint hit. The API is designed for programmatic access. Standard advice: read DEV.to's Terms of Service, stay within polite request rates, and don't republish article bodies wholesale without attribution.

Can I export the dataset to a spreadsheet or warehouse?
Yes — export CSV, JSON, or Excel directly from the Apify Console. Alternatively, webhook the dataset on ACTOR.RUN.SUCCEEDED into Make, Zapier, or n8n, or fetch it via the Apify API for direct warehouse ingestion.

Does DEV.to have an official bulk-export API?
No. The Forem v1 API paginates 30 articles at a time and caps tag listings at approximately 1,000 items. There is no official bulk download, no CSV export, and no GraphQL endpoint on the public surface.

Why are some body_markdown fields null?
Some DEV.to articles link out to a canonical URL hosted on the author's own blog — the metadata (title, tags, reactions) lives on DEV.to but the body lives elsewhere. In those cases the API returns an empty or very short body; the Actor surfaces that faithfully as null rather than silently dropping the row.

Try it

The Actor is live on the Apify Store: apify.com/DevilScrapes/dev-to-articles-scraper.

Free $5 trial credit, no credit card. Run it on tag=python with maxResults=30 and you'll have a full typed dataset in under a minute — Markdown bodies included if you leave includeBody: true. Need a field that isn't there (comment threads, co-authors, series metadata)? Drop a note in the comments. We read every one.


Built by Devil Scrapes — the devil's in the data, and we keep it clean. 😈