<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/urllib/robotparser.py, branch 3.8</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/urllib/robotparser.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/urllib/robotparser.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-06-16T07:07:54Z</updated>
<entry>
<title>bpo-35922: Fix RobotFileParser when robots.txt has no relevant crawl delay or request rate (GH-11791)</title>
<updated>2019-06-16T07:07:54Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-16T07:07:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=58a1a76baefc92d9e2392a5dbf65e39e44fb8f55'/>
<id>urn:sha1:58a1a76baefc92d9e2392a5dbf65e39e44fb8f55</id>
<content type='text'>
Co-Authored-By: Tal Einat &lt;taleinat+github@gmail.com&gt;
(cherry picked from commit 8047e0e1c620f69cc21f9ca48b24bf2cdd5c3668)

Co-authored-by: Rémi Lapeyre &lt;remi.lapeyre@henki.fr&gt;</content>
</entry>
<entry>
<title>bpo-21475: Support the Sitemap extension in robotparser (GH-6883)</title>
<updated>2018-05-16T14:52:07Z</updated>
<author>
<name>Christopher Beacham</name>
<email>mcscope@gmail.com</email>
</author>
<published>2018-05-16T14:52:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5db5c0669e624767375593cc1a01f32092c91c58'/>
<id>urn:sha1:5db5c0669e624767375593cc1a01f32092c91c58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711)</title>
<updated>2018-05-14T14:10:41Z</updated>
<author>
<name>Michael Lazar</name>
<email>lazar.michael22@gmail.com</email>
</author>
<published>2018-05-14T14:10:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bd08a0af2d88c590ede762102bd42da3437e9980'/>
<id>urn:sha1:bd08a0af2d88c590ede762102bd42da3437e9980</id>
<content type='text'>
The urllib.robotparser's __str__ representation now includes wildcard
entries and the "Crawl-delay" and "Request-rate" fields. Also removes extra
newlines that were being appended to the end of the string.
</content>
</entry>
<entry>
<title>bpo-31325: Fix usage of namedtuple in RobotFileParser.parse() (#4529)</title>
<updated>2017-11-23T23:40:26Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2017-11-23T23:40:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3df02dbc8e197053105f9dffeae40b04ec66766e'/>
<id>urn:sha1:3df02dbc8e197053105f9dffeae40b04ec66766e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25400: RobotFileParser now correctly returns default values for crawl_delay and request_rate</title>
<updated>2016-09-18T17:17:58Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-09-18T17:17:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a7bbb2e3f12faaf4110ecd15fb739e94f4bc8f6'/>
<id>urn:sha1:9a7bbb2e3f12faaf4110ecd15fb739e94f4bc8f6</id>
<content type='text'>
Initial patch by Peter Wirtz.
</content>
</entry>
<entry>
<title>Merge typo fixes from 3.5</title>
<updated>2016-05-08T14:02:35Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-05-08T14:02:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ce738e08f147beb724f22a9411724a955cd418d'/>
<id>urn:sha1:1ce738e08f147beb724f22a9411724a955cd418d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typos in comments, documentation and test method names</title>
<updated>2016-05-08T13:48:10Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-05-08T13:48:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f0564164bab43f078c9f84f334d72ddb0e69110c'/>
<id>urn:sha1:f0564164bab43f078c9f84f334d72ddb0e69110c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #16099: RobotFileParser now supports Crawl-delay and Request-rate</title>
<updated>2015-10-08T09:27:06Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2015-10-08T09:27:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=960e848f0d32399824d61dce2ff5736bb596ed44'/>
<id>urn:sha1:960e848f0d32399824d61dce2ff5736bb596ed44</id>
<content type='text'>
extensions.

Patch by Nikolay Bogoychev.
</content>
</entry>
<entry>
<title>Issue 21469:  Minor code modernization (convert and/or expression to an if/else expression).</title>
<updated>2014-05-13T05:22:46Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2014-05-13T05:22:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38acd4c028f72a80079c27d68c8da2efd059a38d'/>
<id>urn:sha1:38acd4c028f72a80079c27d68c8da2efd059a38d</id>
<content type='text'>
Suggested by: Tal Einat
</content>
</entry>
<entry>
<title>Issue 21469:  Mitigate risk of false positives with robotparser.</title>
<updated>2014-05-13T04:56:33Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2014-05-13T04:56:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=122541beceeccce4ef8a9bf739c727ccdcbf2f28'/>
<id>urn:sha1:122541beceeccce4ef8a9bf739c727ccdcbf2f28</id>
<content type='text'>
* Repair the broken link to norobots-rfc.txt.

* HTTP response codes &gt;= 500 treated as a failed read rather than as a not
found.  Not found means that we can assume the entire site is allowed.  A 5xx
server error tells us nothing.

* A successful read() or parse() updates the mtime (which is defined to be "the
  time the robots.txt file was last fetched").

* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response.  This avoids false positives in the case where a user calls
can_fetch() before calling read().

* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.
</content>
</entry>
</feed>
