Commit 3f2df36f authored by gijs's avatar gijs Committed by gijs
Browse files

https in indexing

parent 9d942fc4
......@@ -57,7 +57,7 @@ class Command(BaseCommand):
print("parsing {}".format(url))
if response.status_code == 200:
try:
app.graph.parse(data=tidy(response.content), format="rdfa", publicID=url)
app.graph.parse(data=tidy(response.content), format="rdfa", publicID='//{}{}'.format(domain, path))
except:
print("couldn't parse {}".format(url))
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment