I am confused about what problem you are solving. If calibre has a url prefix set then one must use that prefix to reach calibre's home page. CC would need to know that prefix in order to open the home page. One CC has the home page then job done because the OPDS feed is always url-with-prefix/opds. No scraping is required.
What am I missing?
|