The New Republic recipe no longer works
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Medium
|
Kovid Goyal |
Bug Description
I tried using the included recipe for The New republic magazine and notice it is obsolete and no longer working. When trying to update the recipe I stumbled upon this error that is full blocker to fix this issue.
I have this method for login
def get_browser(self):
br = BasicNewsRecipe
br.open('https:/
if self.username is not None and self.password is not None:
data = urllib.
return br
And it fails on first br.open with this message:
InputFormatPlugin: Recipe Input running
Using custom recipe
trying to open site
Traceback (most recent call last):
File "site.py", line 77, in main
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "<string>", line 31, in get_browser
File "site-packages/
File "site-packages/
httperror_
Using the Calibre 3.14 64bit Linux on Ubuntu 17.04
If we can get pass this error I will update and fix the recipe.
Thanks
On my linux system, doing:
calibre-debug -c "from calibre import browser; br = browser(); br.open('https:/ /newrepublic. com/magazine')"
Is line 31 that open or the next one?