@classmethod
def from_crawler(cls, crawler):
    """Returns instance from crawler.

        Parameters
        ----------
        crawler : scrapy.crawler.Crawler

        Returns
        -------
        RFPDupeFilter
            Instance of RFPDupeFilter.

        """
    return cls.from_settings(crawler.settings)
