Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-18-2019, 10:00 PM   #1
nano5
Enthusiast
nano5 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: May 2019
Device: Kindle
Recipe - LRB now paywall-free

LRB is paywall-free recently, will the news recipe be updated at such? It would be nice.
nano5 is offline   Reply With Quote
Old 12-18-2019, 10:22 PM   #2
nano5
Enthusiast
nano5 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: May 2019
Device: Kindle
Also, is it possible to add a news recipe for LRB Blog? if the comments for each article could be included as well.
nano5 is offline   Reply With Quote
Old 12-19-2019, 01:25 AM   #3
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: 36,065
Karma: 15014853
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...6af928fc2728ea

I'm not interested in a recipe for the blog.
kovidgoyal is offline   Reply With Quote
Old 12-19-2019, 05:20 AM   #4
nano5
Enthusiast
nano5 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: May 2019
Device: Kindle
the updated recipe has a syntax error when compile

Last edited by nano5; 12-19-2019 at 05:40 AM.
nano5 is offline   Reply With Quote
Old 12-19-2019, 05:48 AM   #5
nano5
Enthusiast
nano5 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: May 2019
Device: Kindle
Sorry wrong alarm, the recipe is now working fine! Thanks a lot.

Is it possible to modify the recipe to retrieve earlier issue?
nano5 is offline   Reply With Quote
Old 12-23-2019, 02:03 PM   #6
Argel
Opinionated [but right]
Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.
 
Argel's Avatar
 
Posts: 276
Karma: 1412
Join Date: Apr 2008
Location: UK
Device: Cybook Gen3, PRS 505, Kindle International, HTC Desire
LRB is only paywall-free for a few weeks

The LRB site is only open to non-subscribers for a short promotional period to mark the redesign. After that it will go back to requiring a login for full access.

Unfortunately they have changed the method of login so that Darko Miletic's original script stops since it cannot find a form called 'login'. The login request is now contained in what the HTML appears to describe as a 'modal container'.

Any chance that the script with login for subscribers can be updated to reflect the change?

Cheers,
Argel

BTW Provided that the simple current issue script can be fixed I have a script to download previous issues which I'm happy to share with other subscribers.
Argel is offline   Reply With Quote
Old 12-23-2019, 11:05 PM   #7
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: 36,065
Karma: 15014853
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
PM your LRB username and password to me and I will take a look.
kovidgoyal is offline   Reply With Quote
Old 12-28-2019, 07:15 AM   #8
Argel
Opinionated [but right]
Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.Argel is no ebook tyro.
 
Argel's Avatar
 
Posts: 276
Karma: 1412
Join Date: Apr 2008
Location: UK
Device: Cybook Gen3, PRS 505, Kindle International, HTC Desire
Thanks and...

Thanks, the revised recipe works perfectly for the current edition. As a token of appreciation I've added a donation.

I was assuming that my next-to-non-existent coding skills would enable me to edit it to shift the index page to previous editions but no such luck.

The address of the contents page for an individual issue takes the form:

https://www.lrb.co.uk/the-paper/v41/n24

Is there any chance of making an alternative script which would parse from a contents page of that form, so that it could be edited manually to download past issues? I tried altering the INDEX variable but just generated a find() error.

Regardless, thanks for the time spent,
Argel
Argel is offline   Reply With Quote
Old 12-28-2019, 08:06 AM   #9
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: 36,065
Karma: 15014853
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Changing INDEX wont help you need to change line 63 to use whatever URL you want.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LRB error danceswithcats Recipes 7 05-25-2019 04:24 AM
Wired Magazine Monthly Edition paywall recipe Squiffers Recipes 6 12-05-2018 05:28 AM
Seattle Times to implement paywall in March - is recipe update needed? SilentSeven Recipes 3 03-16-2013 12:33 PM
New York Times Paywall? Starson17 Recipes 7 04-03-2011 09:33 PM
LRB BLOG - -RECIPE HELP JFS-NMF Recipes 0 01-28-2011 11:00 PM


All times are GMT -4. The time now is 06:20 AM.


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