File size: 2,443 Bytes
c7f4bd0
 
1
2
3
{"nwo":"wx-chevalier\/sentinel-crawler","sha":"8f0e11dc690e34902fe801f29062e3b73c571094","path":"adapters\/scrapy-crawler\/api-crawler\/pipelines\/distinct_pipeline.py","language":"python","identifier":"DistinctPipeline.is_similar","parameters":"(self, sourceUrl, targetUrl)","argument_list":"","return_statement":"","docstring":"\u5224\u65ad\u4e24\u4e2a Url \u662f\u5426\u76f8\u4f3c\uff0c\u5982\u679c\u76f8\u4f3c\u5219\u5ffd\u7565\uff0c\u5426\u5219\u4fdd\u7559","docstring_summary":"\u5224\u65ad\u4e24\u4e2a Url \u662f\u5426\u76f8\u4f3c\uff0c\u5982\u679c\u76f8\u4f3c\u5219\u5ffd\u7565\uff0c\u5426\u5219\u4fdd\u7559","docstring_tokens":["\u5224\u65ad\u4e24\u4e2a","Url","\u662f\u5426\u76f8\u4f3c\uff0c\u5982\u679c\u76f8\u4f3c\u5219\u5ffd\u7565\uff0c\u5426\u5219\u4fdd\u7559"],"function":"def is_similar(self, sourceUrl, targetUrl):\n        '''\n        \u5224\u65ad\u4e24\u4e2a Url \u662f\u5426\u76f8\u4f3c\uff0c\u5982\u679c\u76f8\u4f3c\u5219\u5ffd\u7565\uff0c\u5426\u5219\u4fdd\u7559\n        '''\n        pass","function_tokens":["def","is_similar","(","self",",","sourceUrl",",","targetUrl",")",":","pass"],"url":"https:\/\/github.com\/wx-chevalier\/sentinel-crawler\/blob\/8f0e11dc690e34902fe801f29062e3b73c571094\/adapters\/scrapy-crawler\/api-crawler\/pipelines\/distinct_pipeline.py#L7-L11"}
{"nwo":"wx-chevalier\/sentinel-crawler","sha":"8f0e11dc690e34902fe801f29062e3b73c571094","path":"adapters\/scrapy-crawler\/api-crawler\/spiders\/extract_api.py","language":"python","identifier":"GetallurlsSpider.Filter_similar_url","parameters":"(self, url)","argument_list":"","return_statement":"","docstring":"URL\u76f8\u4f3c\u5ea6\u8fc7\u6ee4\n        \u591a\u4e2a\u76f8\u4f3curl\u4fdd\u7559\u4e00\u4e2a\u5373\u53ef","docstring_summary":"URL\u76f8\u4f3c\u5ea6\u8fc7\u6ee4\n        \u591a\u4e2a\u76f8\u4f3curl\u4fdd\u7559\u4e00\u4e2a\u5373\u53ef","docstring_tokens":["URL\u76f8\u4f3c\u5ea6\u8fc7\u6ee4","\u591a\u4e2a\u76f8\u4f3curl\u4fdd\u7559\u4e00\u4e2a\u5373\u53ef"],"function":"def Filter_similar_url (self, url):\n        '''\n        URL\u76f8\u4f3c\u5ea6\u8fc7\u6ee4\n        \u591a\u4e2a\u76f8\u4f3curl\u4fdd\u7559\u4e00\u4e2a\u5373\u53ef\n        '''\n        pass","function_tokens":["def","Filter_similar_url","(","self",",","url",")",":","pass"],"url":"https:\/\/github.com\/wx-chevalier\/sentinel-crawler\/blob\/8f0e11dc690e34902fe801f29062e3b73c571094\/adapters\/scrapy-crawler\/api-crawler\/spiders\/extract_api.py#L70-L75"}