You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# worker/download_worker.py
|
|
|
|
from worker.downloader import ChapterDownloader
|
|
|
|
|
|
def download_single_chapter(number, title, url, output_base):
|
|
"""
|
|
Called by Celery task.
|
|
"""
|
|
dl = ChapterDownloader()
|
|
return dl.download(number, title, url, output_base)
|