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 05-20-2019, 07:44 AM   #1
Ramana
Connoisseur
Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.
 
Posts: 51
Karma: 20728
Join Date: May 2015
Device: Onyx Boox i86 Hdml plus
How to add delay in fetching the articles

I have the requirement to download the aritcles those span over multiple pages. In the url, the page number changes. When I added all the articles to feeds, getting the error while fetching. May because of issue of not to respond that many requests by the server. I want to delay in between fetch of each article. Is there a way we can add delay during fetch ?
Ramana is offline   Reply With Quote
Old 05-20-2019, 10:25 AM   #2
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use

delay

in your recipe
kovidgoyal is offline   Reply With Quote
Advert
Old 05-20-2019, 12:03 PM   #3
Ramana
Connoisseur
Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.
 
Posts: 51
Karma: 20728
Join Date: May 2015
Device: Onyx Boox i86 Hdml plus
Quote:
Originally Posted by kovidgoyal View Post
Use

delay

in your recipe

Hi Kovid,
If you use delay in recipe, only one download happens at a time. But the fetching of article is happening continuously without any delay. I want delay to be added for each article download even in case of one download at a time.
Is there any api for this ? If not, can this be added as enhancement in BasicNewsRecipe ?
Ramana is offline   Reply With Quote
Old 05-20-2019, 09:54 PM   #4
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No delay is inserted between every request made to the server, for pages, images, etc.
kovidgoyal is offline   Reply With Quote
Old 06-03-2019, 08:10 AM   #5
Ramana
Connoisseur
Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.
 
Posts: 51
Karma: 20728
Join Date: May 2015
Device: Onyx Boox i86 Hdml plus
Quote:
Originally Posted by kovidgoyal View Post
No delay is inserted between every request made to the server, for pages, images, etc.
Hi Kovid,
Could you add optional delay property in sending request to the server ?
Ramana is offline   Reply With Quote
Advert
Old 06-03-2019, 09:25 AM   #6
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
there already is one
kovidgoyal is offline   Reply With Quote
Old 06-04-2019, 12:36 AM   #7
Ramana
Connoisseur
Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.
 
Posts: 51
Karma: 20728
Join Date: May 2015
Device: Onyx Boox i86 Hdml plus
Quote:
Originally Posted by kovidgoyal View Post
there already is one
I meant not about the delay in parallel requests. I am looking for the delay to submit the request to the server for each article. It if it is not implemented, could you add the support in coming calibre releases ? If it is already implemented how can we add delay submitting the request to server ?
Ramana is offline   Reply With Quote
Old 06-04-2019, 01:07 AM   #8
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
One last time, delay is a delay that is implemented per request. Which means there is a delay between *every* request sent to the server.
kovidgoyal is offline   Reply With Quote
Old 06-04-2019, 01:17 AM   #9
Ramana
Connoisseur
Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.
 
Posts: 51
Karma: 20728
Join Date: May 2015
Device: Onyx Boox i86 Hdml plus
Quote:
Originally Posted by kovidgoyal View Post
One last time, delay is a delay that is implemented per request. Which means there is a delay between *every* request sent to the server.
Thank you.
Ramana is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Financial Times (UK) recipe no longer fetching all articles piet8stevens Recipes 1 02-23-2013 04:15 AM
[Tool] Erudite - Pull articles from Instapaper and add to Calbire. ecognito Plugins 0 09-14-2012 08:25 AM
Fetching multi-page articles Steven630 Recipes 27 08-21-2012 10:04 PM
Problem: Recipe for Foreign Affairs not fetching premium articles besianm Recipes 1 03-07-2012 04:41 AM


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


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