This commit is contained in:
Andreas Stephanides
2017-02-08 07:13:53 +01:00
parent 589807f5e2
commit 127bc9c557
6 changed files with 84 additions and 25 deletions

View File

@@ -10,7 +10,8 @@ def urls_test(id):
rw=fetch_page(cu.url)
h= {"url": cu.url, "sourcetype": cu.tpe, "raw": rw}
h2=do_compile(cu.tpe, h)
return {"rw": rw, "url": h, "comp": h2}
h2["raw"]="raw - html -blocked"
return {"comp": h2}
def urls_que(id):
cu=CrawlUrl.query.get(id)