mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Video description can be null in RSS
This commit is contained in:
parent
5617ac0bcb
commit
1329c91b64
@ -119,7 +119,7 @@ class SynchronizeJob(Job):
|
|||||||
video = Video()
|
video = Video()
|
||||||
video.video_id = video_id
|
video.video_id = video_id
|
||||||
video.name = video_title
|
video.name = video_title
|
||||||
video.description = entry.find("{http://search.yahoo.com/mrss/}group").find("{http://search.yahoo.com/mrss/}description").text
|
video.description = entry.find("{http://search.yahoo.com/mrss/}group").find("{http://search.yahoo.com/mrss/}description").text or ""
|
||||||
video.watched = False
|
video.watched = False
|
||||||
video.new = True
|
video.new = True
|
||||||
video.downloaded_path = None
|
video.downloaded_path = None
|
||||||
|
Loading…
Reference in New Issue
Block a user