3346 Commits

Author SHA1 Message Date
Kovid Goyal
d51a453a73
Equestria Daily by Timothee Andres 2021-12-20 10:29:51 +05:30
Kovid Goyal
172ee5d531
Update The BBC
For some reason it now serializes the article JSON as a dict serialized
as string.
2021-12-19 08:30:13 +05:30
Kovid Goyal
535dd78c6f
Remove unused imports 2021-12-16 21:36:03 +05:30
Kovid Goyal
1dfe4bd1c0
Use a UA based on random english words
Cloudflare appears to block http requests with common browser user
agents, probably it checks for some other header field with the user
agent
2021-12-14 12:52:34 +05:30
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
Dirk Gómez
d473641f81 Make El Pais recipe work with redesigned site 2021-12-11 12:51:23 +01:00
Kovid Goyal
59a732d181
Merge branch 'master' of github.com:kovidgoyal/calibre 2021-12-06 20:09:36 +05:30
Kovid Goyal
48a09b77f9
Update American Prospect 2021-12-06 20:09:14 +05:30
Kovid Goyal
f4c3fb26c1
Update Mediapart 2021-12-06 05:28:38 +05:30
Kovid Goyal
929879dc10
Mens Day Out by Vishwas Vasuki
Fixes #1538 (Another recipe)
2021-12-02 21:10:49 +05:30
Kovid Goyal
876290c600
Update Smithsonian Magazine 2021-11-15 15:06:59 +05:30
Kovid Goyal
e7d4e348ba
Update Epoch Times 2021-11-15 08:30:47 +05:30
Kovid Goyal
17479d1d17
The Epoch Times by Kovid Goyal 2021-11-14 18:26:40 +05:30
Kovid Goyal
d9c1cb9501
India speaks reddit feed
Also some more changes to NYPost
2021-11-10 10:01:55 +05:30
Kovid Goyal
d1bd7b73eb
Update New York Post 2021-11-09 21:09:00 +05:30
Kovid Goyal
bd18001d16
Fix #1949616 [Remove recipe that is not working](https://bugs.launchpad.net/calibre/+bug/1949616) 2021-11-03 22:46:32 +05:30
Aimylios
691a07dd45 Update Liberation 2021-11-01 08:09:50 +01:00
Kovid Goyal
70feb562be
Update Boston Globe 2021-10-31 11:56:59 +05:30
Kovid Goyal
5832bb74b1
Update The Globe and Mail 2021-10-31 08:10:29 +05:30
Aimylios
6a44f742bd Update Le Monde 2021-10-30 10:39:25 +02:00
Kovid Goyal
5afde7a808
... 2021-10-19 12:41:53 +05:30
Kovid Goyal
4b7a9ee39e
Update Private Eye 2021-10-15 19:37:18 +05:30
Kovid Goyal
d452eea2b6
Update Foreign Policy 2021-10-12 18:55:48 +05:30
Kovid Goyal
d509d5c453
pep8 2021-10-10 19:15:42 +05:30
Kovid Goyal
65b0bada6f
Update Le Monde Diplomatique - cono sur
Fixes #1946593 [Updated recipe for El diplo](https://bugs.launchpad.net/calibre/+bug/1946593)
2021-10-10 19:14:28 +05:30
vvasuki
9249e92c0a
More Indian news sources by Vishvas Vasuki
Fixes #1499 (Another feed)
2021-10-05 18:03:48 +05:30
Kovid Goyal
afe7d69681
Update Entrepreneur Magazine
Fixes #1945569 [Fetching news from Entrepreneur Magazine fails](https://bugs.launchpad.net/calibre/+bug/1945569)
2021-10-05 10:03:10 +05:30
Kovid Goyal
5862e8057a
Update Dawn 2021-10-05 09:20:48 +05:30
Kovid Goyal
05a327688c
Various Indian News sources by Vishvas Vasuki
Clean up the recipes a little.
2021-10-04 10:18:41 +05:30
Kovid Goyal
d17c88ac9b
fix recipe file naming to match repo standard 2021-10-04 10:14:18 +05:30
vvasuki
c3c83eb14b Add some indic feeds 2021-10-04 09:28:53 +05:30
Kovid Goyal
52c55cc42e
Update New York Review of Books 2021-09-28 08:23:15 +05:30
Kovid Goyal
f5079f936d
Fix #1944034 [The Video image hides text in FOX News article](https://bugs.launchpad.net/calibre/+bug/1944034) 2021-09-19 10:20:40 +05:30
Kovid Goyal
93a8e83b93
Better workaround for wsj free index page getting stuck 2021-09-17 08:22:55 +05:30
Kovid Goyal
4e9bc479c3
Update Аргументы и Факты 2021-09-11 09:47:06 +05:30
Kovid Goyal
78822589d8
... 2021-09-10 16:51:47 +05:30
Kovid Goyal
f53d816c2e
Update India Today 2021-09-10 12:10:56 +05:30
Kovid Goyal
a0cc6d6c68
Fix #1943193 [economist recipe TypeError: Argument must be bytes or unicode, got 'NoneType'](https://bugs.launchpad.net/calibre/+bug/1943193) 2021-09-10 09:18:03 +05:30
Kovid Goyal
56d79c597b
... 2021-09-10 07:53:28 +05:30
Kovid Goyal
493338f4a0
The Week by Kovid Goyal 2021-09-09 22:53:35 +05:30
Kovid Goyal
7a83da61b7
https -> http invalid certs on the https bbc server 2021-09-08 16:49:52 +05:30
Kovid Goyal
fed594a8f9
Update BBC News for changes in website 2021-09-07 16:07:05 +05:30
Kovid Goyal
e9eeea67ae
Fix images missing in Foreign Affairs 2021-09-02 12:40:20 +05:30
Kovid Goyal
01b302d70f
Fix #1942155 [Fatch new Foreign Affairs Fail Version 5.26](https://bugs.launchpad.net/calibre/+bug/1942155) 2021-08-31 09:24:22 +05:30
Kovid Goyal
289e81c2de
... 2021-08-28 13:47:51 +05:30
Kovid Goyal
06028db9af
NYTimes Cooking by gourav 2021-08-21 08:41:50 +05:30
n
9523c4ce1c
Better cover image for Foreign Affairs recipe 2021-08-20 23:09:50 +09:00
Kovid Goyal
637b561aa2
... 2021-08-20 17:36:33 +05:30
Kovid Goyal
31569649a1
Update Boston Globe 2021-08-19 20:18:22 +05:30
Kovid Goyal
42b04ddeeb
Update The Atlantic 2021-08-12 14:45:46 +05:30