Don't use RSS when force=True.
This commit is contained in:
parent
c5c67b9c69
commit
b8ab1503c3
1 changed files with 6 additions and 3 deletions
|
@ -62,6 +62,9 @@ class Channel(Base):
|
|||
self.uploads_playlist = self.ycdldb.youtube.get_user_uploads_playlist_id(self.id)
|
||||
self.set_uploads_playlist_id(self.uploads_playlist)
|
||||
|
||||
if force:
|
||||
video_generator = self.ycdldb.youtube.get_playlist_videos(self.uploads_playlist)
|
||||
else:
|
||||
try:
|
||||
video_generator = self._rss_assisted_videos()
|
||||
except exceptions.RSSAssistFailed:
|
||||
|
|
Loading…
Reference in a new issue