mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
Merge pull request #4918 from cddjr/fix_4853
This commit is contained in:
@@ -384,6 +384,9 @@ class RssHelper:
|
|||||||
pubdate = ""
|
pubdate = ""
|
||||||
if pubdate_nodes and pubdate_nodes[0].text:
|
if pubdate_nodes and pubdate_nodes[0].text:
|
||||||
pubdate = StringUtils.get_time(pubdate_nodes[0].text)
|
pubdate = StringUtils.get_time(pubdate_nodes[0].text)
|
||||||
|
if pubdate is not None:
|
||||||
|
# 转为本地时区
|
||||||
|
pubdate = pubdate.astimezone(tz=None)
|
||||||
|
|
||||||
# 获取豆瓣昵称
|
# 获取豆瓣昵称
|
||||||
nickname_nodes = item.xpath('.//*[local-name()="creator"]')
|
nickname_nodes = item.xpath('.//*[local-name()="creator"]')
|
||||||
|
|||||||
Reference in New Issue
Block a user