From 9a2c1016df9adb651f02f1df1209be9a422dc735 Mon Sep 17 00:00:00 2001 From: Tomas Rutkauskas Date: Mon, 9 Nov 2026 16:53:50 +0200 Subject: [PATCH] examples: convert ConvertAPI's demo page, not Wikipedia The URL-to-PDF example converted https://en.wikipedia.org/wiki/Data_conversion. Wikimedia answers ConvertAPI's renderer from the EU production nodes (the default v2.convertapi.com) with a 429 "Too many requests" page, so the result was a one-page PDF of that error, billed as a conversion. https://cdn.convertapi.com/public/files/demo is a page ConvertAPI owns; it converts to a two-page PDF with headings, a table, lists, a code block and an image. Co-Authored-By: Claude Opus 5.5 --- examples/web/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/web/main.go b/examples/web/main.go index 777dd1c..fdf6b6d 100644 --- a/examples/web/main.go +++ b/examples/web/main.go @@ -13,7 +13,7 @@ func main() { fmt.Println("Converting WEB page to PDF") webRes := convertapi.ConvDef("html", "pdf", - param.NewString("url", "https://en.wikipedia.org/wiki/Data_conversion"), + param.NewString("url", "https://cdn.convertapi.com/public/files/demo"), param.NewString("filename", "web-example"), )