# Path: woid/apps/services/crawlers.py
# class AbstractBaseCrawler:
# class HackerNewsCrawler(AbstractBaseCrawler):
# class RedditCrawler(AbstractBaseCrawler):
# class GithubCrawler(AbstractBaseCrawler):
# class NYTimesCrawler(AbstractBaseCrawler):
# class ProductHuntCrawler(AbstractBaseCrawler):
#     def __init__(self, slug, client):
#     def run(self):
#     def __init__(self):
#     def update_top_stories(self):
#     def update_story(self, code):
#     def __init__(self):
#     def update_top_stories(self):
#     def __init__(self):
#     def update_top_stories(self):
#     def __init__(self):
#     def save_story(self, story_data, score, weight):
#     def update_top_stories(self):
#     def __init__(self):
#     def update_top_stories(self):


import time
from django.conf import settings
from django.core.management.base import BaseCommand
from woid.apps.services import crawlers




class Command(BaseCommand):
    help = 'Crawl external services to update top stories'

    def get_crawler_class(self, slug):
        crawlers_classes = {
            'reddit': crawlers.RedditCrawler,

# Path: woid/apps/services/crawlers.py
# class AbstractBaseCrawler:
# class HackerNewsCrawler(AbstractBaseCrawler):
# class RedditCrawler(AbstractBaseCrawler):
# class GithubCrawler(AbstractBaseCrawler):
# class NYTimesCrawler(AbstractBaseCrawler):
# class ProductHuntCrawler(AbstractBaseCrawler):
#     def __init__(self, slug, client):
#     def run(self):
#     def __init__(self):
#     def update_top_stories(self):
#     def update_story(self, code):
#     def __init__(self):
#     def update_top_stories(self):
#     def __init__(self):
#     def update_top_stories(self):
#     def __init__(self):
#     def save_story(self, story_data, score, weight):
#     def update_top_stories(self):
#     def __init__(self):
#     def update_top_stories(self):


# Path: woid/apps/services/management/commands/crawl.py
import time
from django.conf import settings
from django.core.management.base import BaseCommand
from woid.apps.services import crawlers





class Command(BaseCommand):
    help = 'Crawl external services to update top stories'

    def get_crawler_class(self, slug):
        crawlers_classes = {
            'reddit': crawlers.RedditCrawler,

            'hn': crawlers.HackerNewsCrawler,