Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes


Thread Tools Search this Thread
Old 12-01-2011, 05:56 PM   #1
Junior Member
brian9000 began at the beginning.
Posts: 1
Karma: 10
Join Date: Nov 2011
Device: none
Academic Libraries and Recipes

I am affiliated with a university with an excellent library. We have loads of digital content that is remotely accessible via VPN and proxy server. I was wondering if anyone else out there had thought of -- or actually created -- recipes (particularly for news from the Economist, NYTimes, WSJ, etc.) that only download after authentication through a proxy or VPN. For example, at my university we don't have to deal with the paywall on the NYTimes website, obviating the need for login and passwords.

Any thoughts?
brian9000 is offline   Reply With Quote
Old 12-02-2011, 09:16 AM   #2
PatStapleton began at the beginning.
Posts: 19
Karma: 10
Join Date: Nov 2011
Location: Australia
Device: Kindle 4
Well I don't know how the proxy works at your uni but I wrote a recipe that uses my university's access using the following:
    def get_browser(self):
        br = BasicNewsRecipe.get_browser()'')
        br['user'] = self.username
        br['pass'] = self.password
        return br

And then I later had to append the proxy to the url so it would re-route and pickup the authentication like so:
curarticle.url = curarticle.url.replace('', '')

That full recipe is here:

Anyway I hope that helps, or at least gives you some ideas .
PatStapleton is offline   Reply With Quote

calibre, proxy, recipe, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduled Custom News Recipes Disappear When Switching Libraries Tegan Calibre 13 01-29-2011 07:21 AM
academic ereading carminis Which one should I buy? 29 04-23-2010 11:12 AM
Ebooks & academic libraries: a study Nate the great News 0 12-01-2009 08:38 PM
Academic titles Gianfranco Bookeen 5 08-09-2008 12:10 PM
Academic .pdfs Pets0undz Sony Reader 8 04-26-2007 07:40 AM

All times are GMT -4. The time now is 07:42 PM. is a privately owned, operated and funded community.