# Path: shiori/bookmark/agents/feed.py
# def register_bookmarks():
# def fetch_feeds(**kwargs):
# def add_item(**kwargs):
# 
# Path: shiori/core/settings.py
# CELERY_TIMEDELTA_MINUTES = 60


from celery.task import PeriodicTask
from datetime import timedelta
from shiori.bookmark.agents import feed
from shiori.core.settings import CELERY_TIMEDELTA_MINUTES
# -*- coding: utf-8 -*-
""" Celery task module """


class ProcessRunner(PeriodicTask):
    """ Process Runner class """

    run_every = timedelta(minutes=CELERY_TIMEDELTA_MINUTES)

    def run(self, **kwargs):

# Path: shiori/bookmark/agents/feed.py
# def register_bookmarks():
# def fetch_feeds(**kwargs):
# def add_item(**kwargs):
# 
# Path: shiori/core/settings.py
# CELERY_TIMEDELTA_MINUTES = 60


# Path: shiori/bookmark/tasks.py
from celery.task import PeriodicTask
from datetime import timedelta
from shiori.bookmark.agents import feed
from shiori.core.settings import CELERY_TIMEDELTA_MINUTES

# -*- coding: utf-8 -*-
""" Celery task module """


class ProcessRunner(PeriodicTask):
    """ Process Runner class """

    run_every = timedelta(minutes=CELERY_TIMEDELTA_MINUTES)

    def run(self, **kwargs):

        feed.register_bookmarks()