Build a small visual regression check in Python. Capture full-page screenshots with an API, diff them against baselines with Pillow, ignore dynamic regions and fail on real layout changes. Tested, with the threshold mistake we hit and fixed.
Generate website thumbnails and link-preview images from URLs with a screenshot API and Pillow. A tested Python script that batches five URLs per call, crops to three sizes, caches results and handles dead sites, plus the meta tags to use them.
Build a small brand monitoring script on top of a Google News API. It runs your brand queries, drops noise, remembers what it has already seen and prints only new coverage. Tested code, real output and the limits to know about.
Google has no official News API, so developers choose between the Google News RSS feed and a third-party API. Here is what each returns in real runs, where the RSS feed falls short, and Python code for both.
How to get a YouTube video's captions as SRT or VTT files with Python or curl, pick the right language track, fix overlapping cues, and handle the case where translation fails. Output shown is from real runs.
A tested Python recipe for summarising long YouTube videos with any LLM - fetch timestamped segments, chunk without cutting captions, map-reduce the notes, and turn every cited time into a link that opens the video at that moment.
Why the Python youtube-transcript-api library works on your laptop but raises RequestBlocked or IpBlocked on AWS, GCP and serverless, which fixes actually work, and a tested fallback that only calls a hosted API when YouTube blocks you.
Enrich a lead list with public emails, phone numbers and LinkedIn/X links scraped from each company's own site, then rank the emails so you never write to the legal or privacy mailbox. Tested on real sites, including the messy results.
Take a CSV of company websites, detect each site's CMS, ecommerce platform, email provider and hosting, and split the list into segments you can act on. About 70 lines of Python, tested on real sites, with the evidence behind every detection.
Pull 1- and 2-star Apple App Store reviews for any app by name across several countries, group them by app version and tag them with explainable themes, in about 60 lines of Python. Tested on real data.
A practical guide to fetching YouTube transcripts from code: why DIY scrapers get IP-blocked on servers, working Python, Node.js and curl examples, languages and translation, SRT/VTT, playlists, and chunking transcripts for LLMs.
How to give AI agents reliable access to YouTube transcripts, web page screenshots and Google News results, through a hosted MCP server or plain tool calling. Setup for Claude, Cursor and VS Code, plus tool design tips that keep context small.
How to capture website screenshots from code without running your own headless browser fleet. Working Python and Node.js examples for full-page, mobile, retina and PDF captures, late-loading pages, and a batch script with retries.
A step-by-step guide to monitoring brand, competitor and industry news in Python. Design queries, fetch Google News results as JSON, deduplicate, store in SQLite, and send a daily digest, in about 120 lines of code.
A practical guide to generating PDFs from HTML for invoices, reports and certificates. Print CSS that works, page sizes and breaks, waiting for fonts and charts, rendering private documents via signed URLs, and a batch pipeline for thousands of PDFs.