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 08-07-2019, 06:55 AM   #1
Phoebus
Member
Phoebus began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Aug 2015
Device: Kobo Aura H2O
Appending URLs in an RSS feed

Hi, I have a fairly simple recipe that gets a list of URLs from an RSS feed and then goes to the URL to extract the information. (Ie use embedded content is false).

Is there a way to tell calibre to add a bit of code to the end of each URL?

I'd like to add '?limit=500' to the end of each URL

The only reference to URLs in my recipe is:

Code:
    def is_link_wanted(self, url, a):
Thanks
Phoebus is offline   Reply With Quote
Old 08-07-2019, 07:00 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: 35,245
Karma: 12711906
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Implement print_version() in your recipe
kovidgoyal is offline   Reply With Quote
Advert
Old 08-10-2019, 03:16 PM   #3
Phoebus
Member
Phoebus began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Aug 2015
Device: Kobo Aura H2O
Thanks, that worked.
Phoebus 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
RSS feed messiaen Recipes 1 02-03-2016 09:55 PM
Books through an RSS feed Canadiancynic Calibre 1 02-06-2011 06:13 AM
Ignore empty RSS feed urls miwie Recipes 2 11-18-2010 01:58 PM
RSS Feed timezone Feedback 8 01-02-2010 06:55 PM
RSS Feed Prob... AKninja04 Calibre 6 08-25-2008 07:51 PM


All times are GMT -4. The time now is 10:52 AM.


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