Update Reader.php

fix errors in url generation