Home
last modified time | relevance | path

Searched refs:can_fetch (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_robotparser.py34 self.assertTrue(self.parser.can_fetch(agent, url))
40 self.assertFalse(self.parser.can_fetch(agent, url))
342 self.assertFalse(parser.can_fetch("*", robots_url))
370 self.assertTrue(self.parser.can_fetch('*', self.url('elsewhere')))
371 self.assertFalse(self.parser.can_fetch('Nutch', self.base_url))
372 self.assertFalse(self.parser.can_fetch('Nutch', self.url('brian')))
373 self.assertFalse(self.parser.can_fetch('Nutch', self.url('webstats')))
374 self.assertFalse(self.parser.can_fetch('*', self.url('webstats')))
375 self.assertTrue(self.parser.can_fetch('*', self.base_url))
/third_party/python/Doc/library/
Durllib.robotparser.rst43 .. method:: can_fetch(useragent, url)
103 >>> rp.can_fetch("*", "http://www.musi-cal.com/cgi-bin/search?city=San+Francisco")
105 >>> rp.can_fetch("*", "http://www.musi-cal.com/")
/third_party/python/Lib/urllib/
Drobotparser.py154 def can_fetch(self, useragent, url): member in RobotFileParser
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst3734 can_fetch().
/third_party/python/Misc/
DHISTORY1924 prior to returning True in can_fetch().