set app's artistName as author

This commit is contained in:
hillerliao
2022-11-03 22:44:09 +08:00
parent d07803f253
commit 3db8da9e8c

View File

@@ -49,7 +49,7 @@ def parse(post):
+ '</br></br>Rating: ' + str( post['userRating']['value'] ) \ + '</br></br>Rating: ' + str( post['userRating']['value'] ) \
+ ',数量:' + str( post['userRating']['ratingCount'] ) + ',数量:' + str( post['userRating']['ratingCount'] )
url_paths = post['shortUrl'].split('/') url_paths = post['shortUrl'].split('/')
item['author'] = post['copyright'] item['author'] = post['artistName']
del url_paths[-2] del url_paths[-2]
item['link'] = '/'.join(url_paths) item['link'] = '/'.join(url_paths)
return item return item