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
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