mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [crawler] debug
This commit is contained in:
parent
d376612d51
commit
847d004c13
1 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,8 @@ class Crawler(AbstractModule):
|
|||
task = capture.get_task()
|
||||
domain = task.get_domain()
|
||||
print(domain)
|
||||
if not domain:
|
||||
raise Exception(f'Error: domain {domain}')
|
||||
|
||||
self.domain = Domain(domain)
|
||||
self.original_domain = Domain(domain)
|
||||
|
|
Loading…
Reference in a new issue