(self, request)
Returns True if request was already seen.

        Parameters
        ----------
        request : scrapy.http.Request

        Returns
        -------
        bool
Returns True if request was already seen.
Returns True if request was already seen .
def request_seen(self, request):
        """Returns True if request was already seen.

        Parameters
        ----------
        request : scrapy.http.Request

        Returns
        -------
        bool

        """
        fp = request_fingerprint(request)
        if self.bf.isContains(fp):
            return True
        else:
            self.bf.insert(fp)
            return False
def request_seen ( self , request ) : fp = request_fingerprint ( request ) if self . bf . isContains ( fp ) : return True else : self . bf . insert ( fp ) return False