Save/convert all website child URLs (subpages) as pdfs

I want to save/convert all website child URLs (subpages) as pdfs.

All the URLs follow this form:

However, there isn’t an index of all such pages available, so maybe they are to be crawled first as html files.