Don't use RSS when force=True.

This commit is contained in:
voussoir 2020-10-23 07:44:09 -07:00
parent c5c67b9c69
commit b8ab1503c3

View file

@ -62,6 +62,9 @@ class Channel(Base):
self.uploads_playlist = self.ycdldb.youtube.get_user_uploads_playlist_id(self.id) self.uploads_playlist = self.ycdldb.youtube.get_user_uploads_playlist_id(self.id)
self.set_uploads_playlist_id(self.uploads_playlist) self.set_uploads_playlist_id(self.uploads_playlist)
if force:
video_generator = self.ycdldb.youtube.get_playlist_videos(self.uploads_playlist)
else:
try: try:
video_generator = self._rss_assisted_videos() video_generator = self._rss_assisted_videos()
except exceptions.RSSAssistFailed: except exceptions.RSSAssistFailed: