Sources: fix artist_name not being caught in skeb and weibo
This commit is contained in:
@@ -83,7 +83,7 @@ module Sources
|
|||||||
end
|
end
|
||||||
|
|
||||||
def artist_name
|
def artist_name
|
||||||
url[PROFILE_URL, :artist_name]
|
urls.map { |u| u[PROFILE_URL, :artist_name] }.compact.first
|
||||||
end
|
end
|
||||||
|
|
||||||
def display_name
|
def display_name
|
||||||
|
|||||||
@@ -137,6 +137,10 @@ module Sources
|
|||||||
"https://www.weibo.com/p/#{artist_long_id}"
|
"https://www.weibo.com/p/#{artist_long_id}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def artist_name
|
||||||
|
api_response&.dig("user", "screen_name")
|
||||||
|
end
|
||||||
|
|
||||||
def artist_commentary_desc
|
def artist_commentary_desc
|
||||||
return if api_response.blank?
|
return if api_response.blank?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user