No description
Find a file
Gerard Ryan 6590bcd76e
Fix Pocket/readitlater recipe
This recipe wasn't working (at least for me), where it would
consistently fail with the following error when trying to download an
article:

```
Traceback (most recent call last):
  File "calibre/utils/threadpool.py", line 100, in run
  File "calibre/web/feeds/news.py", line 1186, in fetch_obfuscated_article
  File "<string>", line 157, in get_obfuscated_article
  File "<string>", line 142, in get_textview
  File "re.py", line 201, in search
TypeError: expected string or bytes-like object
```

I believe this is because Pocket don't allow access to their
"Article View" API by default:
https://getpocket.com/developer/docs/v3/article-view

This change uses the original URL of the article, rather than the
pocket url for it (those `getpocket.com/a/read/<id>` URLs in the
browser seem to just redirect me to `getpocket.com/my-list`). I've a
feeling that the old way might have produced cleaner articles (Pocket
cleanup & then Calibre cleanup), but I've never seen it work
successfully.

We could alternatively try to convince Pocket to enable that API for
the "app" we use here (I think this usage would qualify, as it's a
"Pocket specific feature" (for Calibre)). That might require adopting
their full OAuth flow, rather than using username/password. From
reading their API docs with Calibre in mind, I think that would mean
we'd have to have a web page somewhere that the user would have to
access in their normal web browser, click a button to redirect them to
the Pocket page to authorize the Calibre app to access their Pocket
account, which would then redirect them back to our web page where
we'd instruct them to enter the access token into the "password" field
for the recipe in Calibre.
2021-12-11 22:52:20 +00:00
.github Add github sponsors funding link 2021-09-03 08:40:20 +05:30
bypy Need the qt5 branch of bypy for calibre 5 2021-12-10 20:21:23 +05:30
format_docs Fix more typos 2021-10-02 17:15:24 +02:00
icons Remove useless __future__ imports 2020-08-22 18:47:55 +05:30
imgsrc E-book viewer: Add a button to directly open the viewer help section in the calibre user manual to the viewer controls 2021-10-24 21:21:08 +05:30
manual String changes 2021-11-25 10:45:19 +05:30
recipes Fix Pocket/readitlater recipe 2021-12-11 22:52:20 +00:00
resources String changes 2021-11-25 10:45:19 +05:30
setup Use a private copy of the bypy scripts so it doesnt conflict with the developments for the qt6 branch 2021-12-10 14:26:17 +05:30
src Bug #1954562: Strange search results after updating stored template 2021-12-11 12:55:58 +00:00
.gitattributes Add gitattributes info for RapydScript files 2020-10-20 11:35:34 +05:30
.gitignore Add local virtual-machines.conf to gitignore 2021-12-11 08:33:15 +05:30
=template.py Change shebangs to python from python2 2020-08-22 18:47:51 +05:30
Changelog.old.txt Remove old Changelog entries 2021-05-21 18:48:02 +05:30
Changelog.txt version 5.33.2 2021-12-04 14:57:39 +05:30
COPYRIGHT Get rid of msstdint.h 2020-08-22 18:47:57 +05:30
INSTALL.rst Change shebangs to python from python2 2020-08-22 18:47:51 +05:30
LICENSE Update GPL3 text 2021-01-24 19:53:30 +09:00
LICENSE.rtf Update GPL3 RTF text 2021-01-24 19:53:30 +09:00
README.md Fix capitalization 2021-10-17 07:49:40 +00:00
run-local
SECURITY.md Use a single point of truth for the location of the bug tracker 2021-09-20 19:16:40 +05:30
session.vim Remove syntastic conf since no longer use syntastic 2021-04-17 16:30:39 +05:30
setup.cfg Port most remaining references to PyQt5 2021-03-01 16:22:00 +05:30
setup.py Dont use an f-string in check_version_info since it will cause a syntaxerror on older python 2021-09-30 13:44:56 +05:30
update-on-ox Get extdev working on macOS 2020-11-19 22:41:46 +05:30

calibre

calibre is an e-book manager. It can view, convert, edit and catalog e-books in all of the major e-book formats. It can also talk to e-book reader devices. It can go out to the internet and fetch metadata for your books. It can download newspapers and convert them into e-books for convenient reading. It is cross platform, running on Linux, Windows and macOS.

For more information, see the calibre About page.

Build Status

Screenshots

Screenshots page

Usage

See the User Manual.

Development

Setting up a development environment for calibre.

A tarball of the source code for the current calibre release.

Bugs

Bug reports and feature requests should be made in the calibre bug tracker at Launchpad. GitHub is only used for code hosting and pull requests.

Support calibre

calibre is a result of the efforts of many volunteers from all over the world. If you find it useful, please consider contributing to support its development. Donate to support calibre development.

Building calibre binaries

See Build instructions for instructions on how to build the calibre binaries and installers for all the platforms calibre supports.

calibre package versions in various repositories

Packaging Status