linkchecker/linkcheck
Chris Mayo d3d6638973 Actually fix TypeError when checking https link
The test was added but not the fix in:
ecd06776 ("Fix TypeError when checking https link and test", 2019-11-11)

Which is caught by the new test when run on Python 3:
___________________ TestHttps.test_x509_to_dict__________________
[gw14] linux -- Python 3.6.9 /usr/bin/python3.6
tests/checker/test_https.py:72: in test_x509_to_dict
    self.assertEqual(httputil.x509_to_dict(cert)["notAfter"],
linkcheck/httputil.py:47: in x509_to_dict
    parsedtime = asn1_generaltime_to_seconds(notAfter)
linkcheck/httputil.py:68: in asn1_generaltime_to_seconds
    res = datetime.strptime(timestr, timeformat + 'Z')
E   TypeError: strptime() argument 1 must be str, not bytes
2019-11-19 20:06:10 +00:00
..
bookmarks Merge pull request #308 from cjmayo/decode 2019-10-10 09:46:32 -04:00
cache DOC: minor typo fix 2018-11-01 11:08:09 -04:00
checker Fix TypeError: string arg required in content_allows_robots() 2019-10-22 14:13:45 +03:00
configuration Remove configuration.DonateUrl 2019-04-21 19:44:18 +01:00
director Wait for threads to exit after stopping them 2019-10-21 18:23:58 +03:00
HtmlParser Python3: fix unichr() in htmlparser 2019-09-09 19:51:30 +01:00
htmlutil Merge pull request #313 from cjmayo/titlefinder 2019-10-07 11:30:10 -04:00
logger Replace deprecated cgi.escape 2019-09-17 20:25:05 +01:00
network Remove unused code from network subpackage 2019-10-19 10:27:34 +01:00
parser Fix XmlTagUrlParser and make Python 3 compatible 2019-10-28 19:20:05 +00:00
plugins Merge pull request #333 from linkchecker/fix-clamav-on-py3 2019-10-25 16:16:23 +03:00
__init__.py Don't add linkcheck_dns directory to sys.path 2019-10-21 19:52:58 +01:00
ansicolor.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
better_exchook2.py Rename external module to exclude it from some style checks. 2013-01-06 18:17:29 +01:00
cmdline.py Python3: fix displaying help 2019-09-15 19:50:05 +01:00
colorama.py Fix GUI startup for Windows. 2012-12-19 21:12:02 +01:00
containers.py Python3: use str and basestring from builtins 2019-04-16 20:08:29 +01:00
cookies.py Python3: fix TypeError when parsing cookie data 2019-09-13 20:10:25 +01:00
decorators.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
dummy.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
fileutil.py Python3: fix fileutil 2018-01-05 20:31:21 +01:00
ftpparse.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
httputil.py Actually fix TypeError when checking https link 2019-11-19 20:06:10 +00:00
i18n.py Fix test_console.py on Python 3 2019-09-09 18:52:29 +03:00
lc_cgi.py Replace deprecated cgi.escape 2019-09-17 20:25:05 +01:00
loader.py Add missing docstring. 2014-03-01 19:14:43 +01:00
lock.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
log.py Replace deprecated log.warn 2019-04-18 20:10:03 +01:00
logconf.py Move GUI files to separate project 2016-01-23 13:28:15 +01:00
mem.py Remove trailing spaces. 2010-03-06 11:03:25 +01:00
memoryutil.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
mimeutil.py Replace deprecated regexp flags not at start 2019-04-26 19:25:59 +01:00
robotparser2.py Python3: fix robotparser 2019-09-11 20:04:26 +01:00
socketutil.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
strformat.py Python3: fix strformat strline() 2019-09-09 19:51:30 +01:00
threader.py fixes for Python 3 + Travis test: fix threads 2019-09-09 19:51:30 +01:00
trace.py Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
updater.py Update references to GitHub project from wummel to linkchecker 2019-04-18 19:59:52 +01:00
url.py Remove urlutil.decode_for_unquote() 2019-10-04 19:37:09 +01:00
winutil.py Add PDF link parsing. 2014-04-28 18:13:45 +02:00