Do you think, that maybe we should just make the `per_pages` a replaceable argument in the url? We can easily add a constant here, and simplify all this code.