Skip to content

Instantly share code, notes, and snippets.

@yevgnenll
Created March 22, 2016 15:22
Show Gist options
  • Save yevgnenll/d369341760902852587e to your computer and use it in GitHub Desktop.
Save yevgnenll/d369341760902852587e to your computer and use it in GitHub Desktop.
from celery import Task
from socials.models import Keyword
class SocialsCrawlNaverTask(Task):
def run(self, keyword_id):
keyword = Keyword.objects.get(pk=keyword_id)
keyword.crawl_naver()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment