Kovid Goyal
eb601e992c
Make recipe_specific_options usage compatible with old versions of calibre
2024-07-20 12:17:55 +05:30
unkn0w7n
eafdc3c7a9
...
2024-07-19 18:58:19 +05:30
unkn0w7n
6218a97320
...
2024-07-19 18:55:09 +05:30
unkn0w7n
aa2ef871fb
Update economist.recipe
2024-07-19 18:52:03 +05:30
Kovid Goyal
258a9791fe
cleanup previous PR
2024-05-10 11:10:57 +05:30
unkn0w7n
7f25fcabf7
Update Economist
...
use local issue cover
2024-05-10 10:52:14 +05:30
unkn0w7n
308945a6cf
Update econ
2024-05-04 12:16:26 +05:30
unkn0w7n
8a6a72ac17
Update Economist
...
for past editions.
2024-05-02 13:23:57 +05:30
unkn0w7n
9d7f80d43a
Update Economist
...
add delay
2024-04-29 19:13:00 +05:30
unkn0w7n
9d519d7dc8
***
2024-04-29 10:10:35 +05:30
Kovid Goyal
9e99606c64
Update Economist
2024-04-29 07:31:18 +05:30
Kovid Goyal
d1bbe63eb1
Fix for webcache replacing curly quotes with entities in headline content
2024-04-22 08:50:24 +05:30
unkn0w7n
89440f77c3
Update economist
2024-04-21 22:47:32 +05:30
Kovid Goyal
c3595c7b6c
sort imports in all recipe files
2024-03-30 13:03:29 +05:30
unkn0w7n
a5ca38430b
...
2024-01-30 09:44:39 +05:30
unkn0w7n
a170eafd20
...
2024-01-01 14:19:20 +05:30
unkn0w7n
fd5341919f
economist
2024-01-01 14:11:28 +05:30
Kovid Goyal
484605449b
Use a common words based UA for economist
...
Seems to work as well as the fixed facebook one and will hopefully
continue working for longer. Also add the accept-language header.
2023-12-10 19:51:14 +05:30
Kovid Goyal
97d85d960a
pep8
2023-12-08 13:57:23 +05:30
unkn0w7n
734c52ee87
Economist update
2023-12-08 13:18:15 +05:30
Kovid Goyal
d56fc60863
...
2023-12-06 16:35:27 +05:30
unkn0w7n
8a3606a69f
Update economist.recipe
2023-12-06 12:17:23 +05:30
Kovid Goyal
9f3fa2a62d
Update Economist for website changes
...
Fixes #2019248 [error with Economist recipe](https://bugs.launchpad.net/calibre/+bug/2019248 )
2023-05-12 07:55:31 +05:30
Kovid Goyal
213dee41da
Economist: Dont download interactive articles
...
They dont work well and break conversion to EPUB with giant embedded SVG
images. Fixes #2000279 [Fetch news for The Economist fails](https://bugs.launchpad.net/calibre/+bug/2000279 )
2022-12-22 11:04:09 +05:30
Kovid Goyal
06daad5c61
Update The Economist
2022-06-20 18:46:55 +05:30
Tomáš Hnyk
35077c15e0
 Use publication date in title instead of current date
...
A follow up to this https://github.com/kovidgoyal/calibre/pull/1665 that implements this for the Economist.
2022-06-17 23:38:29 +02:00
Kovid Goyal
1f9c67ce02
Fix #1979011 [Economist recipe not working]( https://bugs.launchpad.net/calibre/+bug/1979011 )
2022-06-17 07:54:29 +05:30
xxyzz
9992c75327
Get articles data from json
...
The economist website changes the `a` tag class name to random string
2022-06-17 09:49:18 +08:00
Kovid Goyal
23e52f2cba
Dont fail to download interactive aricles from the Economist
...
They dont work well and look pretty awful, but better than nothing
2022-06-11 12:34:23 +05:30
Kovid Goyal
f192171922
Economist apparently uses <small> for multi word phrases as well
...
Le bubbling sigh
2022-06-04 15:13:34 +05:30
Kovid Goyal
b815560dd1
Workaround the Economists new usage of a custom font for small caps text
2022-05-28 15:38:22 +05:30
Kovid Goyal
6e7fd724fd
Fix #1970040 [The Economist recipe not fetching "Economic & financial indicators" section]( https://bugs.launchpad.net/calibre/+bug/1970040 )
2022-04-24 10:49:48 +05:30
xxyzz
700fdb7ef9
Fix The Economist recipe NoneType is not iterable error
...
the "image" value could be null, for example: https://www.economist.com/special-report/2022/04/20/sources-and-acknowledgments
2022-04-22 09:15:07 +08:00
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
b3ba942ce6
Dont rely on select_one() since it is not present in older calibre
2021-03-27 16:13:56 +05:30
xxyzz
d360331af4
remove := syntax
2021-03-27 18:34:20 +08:00
xxyzz
84741b17df
get the economist cover url from json
2021-03-27 18:10:22 +08:00
Kovid Goyal
e6e1f54f8c
Economist JSON format has changed
2021-03-26 08:42:21 +05:30
Kovid Goyal
c6d9bce9e8
Merge branch 'patch-1' of https://github.com/shinozukayohei/calibre
2020-12-22 14:08:50 +05:30
shinozukayohei
7567ced528
Replace urllib with self.index_to_soup()
...
urllib is no longer used to make requests. Instead self.index_to_soup() is called, with raw=True.
2020-12-21 12:18:27 -08:00
shinozukayohei
526969213c
Get a past edition (e.g., date='2020-11-28').
...
A new function edition(date) allows the user to specify a past edition. The default, date='', takes the current edition. The proper cover URL appears in the Calibre desktop app, though not on Kindle Oasis - a minor remaining issue. Much respect and admiration for Kovid Goyal's work.
2020-12-20 15:17:03 -08:00
Kovid Goyal
a7789552df
Get descriptions as well when parsing economist index page
2020-09-13 08:45:33 +05:30
xxyzz
0f148073fd
fetch the economist cover from archive page
2020-09-04 11:56:51 +00:00
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
...
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
f20a32e5c6
Apparently economist uses both <div> and <section> for index page sections
2020-06-05 09:25:11 +05:30
Kovid Goyal
8f8a7b89c1
Update Economist recipes for index page markup change
...
Fixes #1882131 [Fetch "The Economist" News fails as they have totally revamped their website format](https://bugs.launchpad.net/calibre/+bug/1882131 )
2020-06-05 07:42:15 +05:30
Kovid Goyal
cdb8e6025f
Remove width and height attributes from economist download
2020-03-17 22:59:20 +05:30
Kovid Goyal
bde48aa80d
Replace entities in economist JSON text
...
& seems to be used a lot
2020-01-22 10:17:00 +05:30
Kovid Goyal
36fbbb6ae1
Update The Economist
2019-12-13 14:48:45 +05:30
Kovid Goyal
13961abd16
Also check python files using python 3 flake8
2019-04-13 09:17:31 +05:30