Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix: metatag regexp search in bytes failed
  • Loading branch information
soxoj committed Aug 23, 2017
1 parent 537b3e1 commit b0d1a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domcheck/strategies.py
Expand Up @@ -74,7 +74,7 @@ def check_meta_tag(domain, prefix, code):
res = urlopen(req, timeout=2)
if res.code == 200:
# Expect the </head> to be found in the first 100k of the page
content = res.read(100000)
content = str(res.read(100000))
res.close()
return search_meta_tag(content, prefix, code)
else:
Expand Down

0 comments on commit b0d1a14

Please sign in to comment.