I noticed that when it should download an EPUB, it instead downloaded the same PDF again, thus missing the EPUB file. It was due to naming conflict; I had reused the variable r in my code and therefore corrupted the original URL. I have renamed my variables. Sorry.
I noticed that when it should download an EPUB, it instead downloaded the same PDF again, thus missing the EPUB file. It was due to naming conflict; I had reused the variable
r
in my code and therefore corrupted the original URL. I have renamed my variables. Sorry.