Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2026, 01:40 PM   #46
PacificNW
Monster, not the Doctor
PacificNW began at the beginning.
 
PacificNW's Avatar
 
Posts: 11
Karma: 10
Join Date: Sep 2018
Device: Pre-lockdown Kindle, Kobo Clara BW
Quote:
Originally Posted by NullNix View Post
I wonder if we can somehow leverage browser automation (there's a standard thing for it whose name I forget) to do the downloading part using the actual browser, signed-in and everything? Would be a gigantic change though, basically a rewrite, but it would probably be very hard for the Economist to do anything to stop other than rate-limiting, because we'd literally be using the same machinery to read that other users are.
Really beyond the concept of pure python scripting as done in Calibre recipes, but very complex web client-server interactions can be handled by the 'deno' tool. The excellent product 'yt-dlp' recently adopted it to deal with massive complexity on YouTube. Works great, but there's still an ongoing cat-and-mouse aspect to reverse engineering here, which our maintainer is clearly annoyed by. IF interested, an Example
PacificNW is offline   Reply With Quote
Old 07-28-2026, 02:12 PM   #47
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,914
Karma: 64187770
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Cough View Post
After I posted I sent a note to the mods asking if I was in contravention but they didn't respond. Will remove if I can but cant seem to edit it.
Many Mods are volunteers. We check messages when we have a chance.
Forum levels (like myself), only get notices by specific PM. To whome did you send the request?
The Greenies all get notices when 'report this post' is used (when needed rapid action)
theducks is offline   Reply With Quote
Old 07-28-2026, 05:28 PM   #48
Cough
Junior Member
Cough began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2025
Device: Kindle
just delete my post #28 please.
Cough is offline   Reply With Quote
Old 07-29-2026, 06:33 AM   #49
P38eagle
Junior Member
P38eagle began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2022
Device: Kindle 10th generation
Use 7.26

I changed my version from 9.11 to 7.26 and was able to download the Economst.
P38eagle is offline   Reply With Quote
Old 07-29-2026, 07:54 AM   #50
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,423
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by P38eagle View Post
I changed my version from 9.11 to 7.26 and was able to download the Economst.
And if lots of people do that it will stop working.
kovidgoyal is offline   Reply With Quote
Old 07-29-2026, 12:42 PM   #51
NullNix
Guru
NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.
 
Posts: 941
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
Quote:
Originally Posted by PacificNW View Post
Really beyond the concept of pure python scripting as done in Calibre recipes, but very complex web client-server interactions can be handled by the 'deno' tool. The excellent product 'yt-dlp' recently adopted it to deal with massive complexity on YouTube. Works great, but there's still an ongoing cat-and-mouse aspect to reverse engineering here, which our maintainer is clearly annoyed by. IF interested, an Example
Surely that's where https://pypi.org/project/deno/ comes in handy. But the thing I was thinking of was https://pypi.org/project/marionette-harness/ or of course https://pypi.org/project/selenium/.
NullNix is offline   Reply With Quote
Old 07-29-2026, 12:49 PM   #52
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,423
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No the solution for this kind of thing is camoufox. And there is already code in calibre to start integrating it. However camoufox is huge several hundred MB and getting the integration to a point where its useable in recipes etc in calibre is a lot of work. https://github.com/daijro/camoufox
kovidgoyal is offline   Reply With Quote
Old 07-29-2026, 09:20 PM   #53
Emagazine2026
Junior Member
Emagazine2026 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2026
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
No the solution for this kind of thing is camoufox. And there is already code in calibre to start integrating it. However camoufox is huge several hundred MB and getting the integration to a point where its useable in recipes etc in calibre is a lot of work. https://github.com/daijro/camoufox
Hi Kovid, Using your updated recipe, I can only fetch the section names and article lists from The Economist, but the full article content cannot be retrieved. What could be the reason for this? Thanks.
Emagazine2026 is offline   Reply With Quote
Old 07-29-2026, 10:34 PM   #54
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,423
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Repeating myself one last time. The economist has moved to using statistical fingerprint based blocking. Any changes you make to the recipe will cause it to work *for some time* until enough people use the change, at which point it will stop working again. The *only* way to fix this robustly is to use a browser engine that is impossible to statistically isolate from regular browsers. As I said above one possibility for that is camoufox. If and when I find the time to finish its integration with calibre this can be re visited until then you can keep making endless tweaks to the recipe to have the download work for yourself personally, such as changing the user agent or the browser stack etc. But any and all such changes will not work if they are used for the builtin recipe which is used by large numbers of people thereby providing an easily detected signal. For a while we got away with using the endpoint used by the economist android app, but since last week the economist has blocked that as well.

Last edited by kovidgoyal; 07-29-2026 at 10:36 PM.
kovidgoyal is offline   Reply With Quote
Old 07-31-2026, 07:57 PM   #55
jwhittin
Connoisseur
jwhittin began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Dec 2010
Location: Melbourne, Australia
Device: Kobo Clara Colour
And today, for some reason, the Calibre recipe worked for me.
jwhittin is offline   Reply With Quote
Old 07-31-2026, 10:28 PM   #56
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,423
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by jwhittin View Post
And today, for some reason, the Calibre recipe worked for me.
There was an update to it to use the current android app UA which has changed. Lets see how long it survives.
kovidgoyal is offline   Reply With Quote
Old 08-01-2026, 06:32 AM   #57
hilihuo
Junior Member
hilihuo began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2026
Device: none
great, the economist works this week, thanks a lot, but Scientific American is not working for two weeks: unable to find issue link
hilihuo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
failed to fetch the economist etms88 Recipes 3 12-27-2022 09:07 PM
Firmware Upgrade Failed! greenapple Ectaco jetBook 6 07-06-2010 03:30 AM
Failed to Fetch Economist wayner Calibre 10 12-19-2009 12:30 AM
Jetbook Hardware Upgrade Failed Les Hall Ectaco jetBook 4 08-19-2009 11:28 PM
Upgrade to 0.4.84 failed BrendenM Calibre 14 10-24-2008 06:25 PM


All times are GMT -4. The time now is 07:24 PM.


MobileRead.com is a privately owned, operated and funded community.