mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Setting downloader to video when a channel schedules it's videos for download.
This commit is contained in:
parent
a6811f9e87
commit
1663e1be9e
1 changed files with 2 additions and 1 deletions
|
|
@ -83,7 +83,8 @@ class ChannelDownloader(Downloader, ABC):
|
|||
for video_id, source_id, missing_video in missing_videos:
|
||||
url = video_url_resolver(domain, missing_video)
|
||||
# Schedule any missing videos for download.
|
||||
self.manager.get_or_create_download(url, session)
|
||||
download = self.manager.get_or_create_download(url, session)
|
||||
download.downloader = 'video'
|
||||
|
||||
if PYTEST:
|
||||
self.manager.do_downloads_sync()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue