73 Commits

Author SHA1 Message Date
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
&amp; 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
Kovid Goyal
4b0ed2ab99
py3: Port use of cookielib in recipes 2019-04-01 14:30:30 +05:30
Kovid Goyal
0fcad5f21f
Fix various uses of iteritems missed by dict_fixes 2019-03-25 15:29:08 +05:30
Kovid Goyal
c68a5c8ab1
Port Tag creation in recipes to work with any version of BeautifulSoup 2019-03-23 08:06:25 +05:30
Kovid Goyal
494140ecc1
Fix #1817828 [Economist Magazine download not working](https://bugs.launchpad.net/calibre/+bug/1817828) 2019-02-27 11:25:56 +05:30
Kovid Goyal
97f9373a99
Economist: handle printedition page redirecting to previous issue instead of current one 2018-11-16 12:24:41 +05:30
Kovid Goyal
a0569a727d
Recipe updates
Update The Economist
Update The Houston Chronicle

Bloomberg Columnists by Dale Furrow

Merge branch 'master' of https://github.com/dkfurrow/calibre
2018-07-13 08:10:53 +05:30
dale
6f93d75c06 (1) Revisions to existing Houston Chronicle recipe
(2) Added new recipe which scrapes Bloomberg for columnists' blog postings
(3) Revisions to existing economist recipe, added description metadata via populate_article_metadata.
2018-07-12 18:45:07 -05:00
Kovid Goyal
e5bf9607fa
Update The Economist
Fixes #1758535 [The economist download is not working](https://bugs.launchpad.net/calibre/+bug/1758535)
2018-03-25 08:24:07 +05:30
Kovid Goyal
ef6fd9cf42
Update The Economist 2018-02-20 06:59:09 +05:30
Kovid Goyal
2e8632facf
Fix #1738298 [Economist recipe not working. Edition 3.13. Last successful use was a week ago.](https://bugs.launchpad.net/calibre/+bug/1738298) 2017-12-15 08:04:58 +05:30
Kovid Goyal
f66f9aced1
Merge branch 'patch-1' of https://github.com/bobbysteel/calibre 2017-12-07 21:54:03 +05:30
bobbysteel
e4ef6b8acf
Update economist.recipe 2017-12-07 16:21:16 +00:00
bobbysteel
ac94d00ed2
Fix cover resolution & add log line 2017-12-07 15:56:17 +00:00
bobbysteel
32a1efe0e9
Cleanup tags to remove new newsletter nag 2017-11-29 17:00:28 +05:30
bobbysteel
15510a090d
Fix best day to download 2017-11-26 09:06:26 +00:00
Kovid Goyal
8f515a6cc7
Update The Economist 2017-11-26 08:51:11 +05:30
Kovid Goyal
e524261206
... 2017-10-06 09:27:42 +05:30
Kovid Goyal
7fd413d392
Remove srcset attribute from images in economist and new york review of books 2017-08-30 18:37:47 +05:30
bobbysteel
246c5771b5 Fix blog content inside Economist 2017-06-09 17:49:44 +01:00
Kovid Goyal
9e3171e3a6
Economist recipe reduce image quality to keep file size below amazon's email threshold when the output profile is set to a kindle profile
Fix #662 (Updating for reduced image sizes)
2017-05-12 22:08:52 +05:30
Kovid Goyal
9bc674b954 More changes to the Economist website
Sigh
2017-04-13 17:48:59 +05:30
Kovid Goyal
3feca0981a ... 2017-04-09 19:44:12 +05:30
Kovid Goyal
07a716ef38 ... 2017-03-17 13:15:51 +05:30
Kovid Goyal
f10ef8fe90 ... 2017-03-17 12:47:01 +05:30
Kovid Goyal
1c6387c51b Update The Economist 2017-03-17 12:39:36 +05:30
Kovid Goyal
a750d21495 Update The Economist some more 2017-03-01 22:12:04 +05:30
bobbysteel
2a6bc4f501 Cleanup after latest changes to site 2017-02-28 20:39:45 +00:00
Kovid Goyal
5d35c23c5e ... 2017-02-11 17:31:19 +05:30
Kovid Goyal
4f4af3edf1 Update The Economist
The Economist is apparently doing some A/B testing with a new react
based design for its print edition page.
2017-02-11 13:47:07 +05:30
Kovid Goyal
68c3d6322e More http -> https 2017-02-09 14:02:14 +05:30
Kovid Goyal
567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30
Kovid Goyal
3c27f28fdb Speedup economist download by not downloading images from the article carousel 2016-06-02 17:32:57 +05:30
Vladimir Agafonkin
31ab4bb7af remove "related" widget content from Economist recipe 2016-05-16 13:16:43 +03:00