You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
264 B
18 lines
264 B
4 years ago
|
#!/usr/bin/env python
|
||
|
import os
|
||
|
import sys
|
||
|
sys.path.append("..")
|
||
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dnmapper.settings")
|
||
|
import django
|
||
|
django.setup()
|
||
|
|
||
|
from backend.crawler import crawl
|
||
|
|
||
|
|
||
|
def main():
|
||
|
crawl()
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|