def handle(self, *args, **options): utils.get_html("http://allrecipes.com", 4) print "Successfully fetched all recipes" print "Run python manage.py update_index to update elasticsearch"
def get(request): utils.get_html("http://allrecipes.com", 2)