1 parent 537b3e1 commit b0d1a14Copy full SHA for b0d1a14
1 file changed
domcheck/strategies.py
@@ -74,7 +74,7 @@ def check_meta_tag(domain, prefix, code):
74
res = urlopen(req, timeout=2)
75
if res.code == 200:
76
# Expect the </head> to be found in the first 100k of the page
77
- content = res.read(100000)
+ content = str(res.read(100000))
78
res.close()
79
return search_meta_tag(content, prefix, code)
80
else:
0 commit comments