diff --git a/src/calibre/customize/__init__.py b/src/calibre/customize/__init__.py index d75ef63063..c7ac55799f 100644 --- a/src/calibre/customize/__init__.py +++ b/src/calibre/customize/__init__.py @@ -421,6 +421,7 @@ class MetadataReaderPlugin(Plugin): # {{{ Return metadata for the file represented by stream (a file like object that supports reading). Raise an exception when there is an error with the input data. + :param type: The type of file. Guaranteed to be one of the entries in :attr:`file_types`. :return: A :class:`calibre.ebooks.metadata.book.Metadata` object @@ -452,6 +453,7 @@ class MetadataWriterPlugin(Plugin): # {{{ Set metadata for the file represented by stream (a file like object that supports reading). Raise an exception when there is an error with the input data. + :param type: The type of file. Guaranteed to be one of the entries in :attr:`file_types`. :param mi: A :class:`calibre.ebooks.metadata.book.Metadata` object diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index 1e9ad4718e..5976bc051f 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -829,6 +829,7 @@ class BasicNewsRecipe(Recipe): Called when each HTML page belonging to article is downloaded. Intended to be used to get article metadata like author/summary/etc. from the parsed HTML (soup). + :param article: A object of class :class:`calibre.web.feeds.Article`. If you change the summary, remember to also change the text_summary