perceval/backends/core/mediawiki.py
def fetch(self, category=CATEGORY_PAGE, from_date=DEFAULT_DATETIME, reviews_api=False):
        """Fetch the pages from the backend url.

        The method retrieves, from a MediaWiki url, the
        wiki pages.

        :param category: the category of items to fetch
        :param from_date: obtain pages updated since this date
        :param reviews_api: use the reviews API available in MediaWiki >= 1.27

        :returns: a generator of pages
        """
        if from_date == DEFAULT_DATETIME:
            from_date = None
        else:
            from_date = datetime_to_utc(from_date)

        kwargs = {"from_date": from_date, "reviews_api": reviews_api}
        items = super().fetch(category, **kwargs)

        return items
def fetch(self, category=CATEGORY_PAGE, from_date=DEFAULT_DATETIME, reviews_api=False):
        """Fetch the pages from the backend url.

        The method retrieves, from a MediaWiki url, the
        wiki pages.

        :param category: the category of items to fetch
        :param from_date: obtain pages updated since this date
        :param reviews_api: use the reviews API available in MediaWiki >= 1.27

        :returns: a generator of pages
        """
        if from_date == DEFAULT_DATETIME:
            from_date = None
        else:
            from_date = datetime_to_utc(from_date)

        kwargs = {"from_date": from_date, "reviews_api": reviews_api}
        items = super().fetch(category, **kwargs)

        return items
def fetch ( self , category = CATEGORY_PAGE , from_date = DEFAULT_DATETIME , reviews_api = False ) : if from_date == DEFAULT_DATETIME : from_date = None else : from_date = datetime_to_utc ( from_date ) kwargs = { "from_date" : from_date , "reviews_api" : reviews_api } items = super ( ) . fetch ( category , * * kwargs ) return items
Fetch the pages from the backend url.

        The method retrieves, from a MediaWiki url, the
        wiki pages.

        :param category: the category of items to fetch
        :param from_date: obtain pages updated since this date
        :param reviews_api: use the reviews API available in MediaWiki >= 1.27

        :returns: a generator of pages
Fetch the pages from the backend url .