![]() Representing the article in the Table of Contents. tag from the article that is appropriate for use as the thumbnail add_toc_thumbnail ( article, src ) ¶Ĭall this from populate_article_metadata with the src attribute of an abort_recipe_processing ( msg ) ¶Ĭauses the recipe download system to abort the download of this recipe,ĭisplaying a simple feedback message to the user. Inappropriate content, such as pure video articles. abort_article ( msg = None ) ¶Ĭall this method inside any of the preprocess methods to abort theĭownload for the current article. To creating recipes, see Adding your favorite news website. Progressively more customized/powerful recipes. Progressively more of the functionality in this class, you can make ![]() BasicNewsRecipe ( options, log, progress_reporter ) ¶īase class that contains logic needed in all recipes. The API for writing recipes is defined by the BasicNewsRecipe class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |