Anaphora Changelog to Blog Converter

This tool scrapes the Anaphora changelog and converts entries to blog posts.

Features

Setup

  1. Install requirements:
pip install -r requirements.txt
  1. Run the script:
./run_scraper.sh

Usage

./run_scraper.sh [OPTIONS]

Options

Examples

Test without creating blog posts:

./run_scraper.sh --dry-run

Process only the first 3 entries:

./run_scraper.sh --limit 3

Combine options:

./run_scraper.sh --dry-run --limit 2

Blog Post Format

The converter creates blog posts with the following structure:

Frontmatter

---
layout: post
title: Entry Title
description: Changelog entry from Month Day, Year
date: YYYY-MM-DD
author: Anaphora Team
thumbnail: ./assets/image.png
tags:
  - changelog
  - update
---

Authentication

If the changelog requires authentication, you can add your credentials in the changelog_scraper.py file:

EMAIL = "[email protected]"
PASSWORD = "your-password"

Troubleshooting

If the script doesn't find any changelog entries:

  1. Check the debug files in the blog directory:

  2. You might need to modify the CSS selectors in the script to match the actual structure of your changelog page.

Notes