diff --git a/voucherbot/database/bootstrap.py b/voucherbot/database/bootstrap.py index 8033e1c..c8b2f44 100644 --- a/voucherbot/database/bootstrap.py +++ b/voucherbot/database/bootstrap.py @@ -564,6 +564,22 @@ def _page( priority_tier="C", note="Requires browser-like User-Agent + Accept headers (403 without them).", ), + _page( + "AWSCertifications Wiki Vouchers", + "https://awscertifications.github.io/AWSCertificationsWiki/vouchers-discounts/", + SourceType.WEBSITE, + vendor="AWS", + article_selector="article.md-content__inner", + title_selector="h1", + link_selector="self", + priority_tier="C", + priority=2, + note=( + "r/AWSCertifications community wiki tracking AWS exam vouchers, " + "discounts, coupons and promotions. Single MkDocs document with no " + "per-card wrappers — parsed as one post per crawl." + ), + ), # ── RSS/news feeds (from parser.py) ─────────────────────────────────── _feed( "Petri IT", @@ -1100,6 +1116,11 @@ def _test_source() -> dict[str, Any]: "source_name_pattern": None, "vendor": "pluralsight", }, + { + "url_pattern": "https://awscertifications.github.io/", + "source_name_pattern": None, + "vendor": "aws", + }, # ── Source-name-pattern entries (fallback) ─────────────────────────── {"url_pattern": None, "source_name_pattern": "aws training", "vendor": "aws"}, {"url_pattern": None, "source_name_pattern": "aws builder", "vendor": "aws"},