View Single Post
Old 04-23-2018, 08:38 PM   #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,440
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1. https://manual.calibre-ebook.com/news.html is the closest

2. Set cover_url in the recipe to point to the location of the cover image

3. If the video articles have a recognizable URL (i.e. is they have something like /video/ in them you can implement the print_version() method in your recipe and return None for the URL. Otherwise implement preprocess_soup() in your recipe, look for the video tag and call self.abort_article() when detected.
kovidgoyal is offline   Reply With Quote