Created
March 22, 2016 15:21
-
-
Save yevgnenll/2ca1517dc1417bd66bca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from celery import Task | |
from .naver import SocialsCrawlNaverTask | |
from .daum import SocialsCrawlDaum | |
from .nate import SocialsCrawlNate | |
class SocialsCrawlAllTask(Task): | |
def run(self, keyword_id): | |
print("all----") | |
print("keyword", keyword_id) | |
naver_task = SocialsCrawlNaverTask() | |
naver_task.delay(keyword_id) | |
daum_taks = SocialsCrawlDaum() | |
daum_taks.delay(keyword_id) | |
nate_task = SocialsCrawlNate() | |
nate_task.delay(keyword_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment