tumblr: extract info from url when api data is unavailable.
Derive the artist name / profile url / page url from the source URLs when the API response is unavailable because the Tumblr post was deleted. This fixes the artist finder to work on bad_tumblr_id posts.
This commit is contained in:
@@ -221,6 +221,8 @@ module Sources
|
||||
:profile_url => profile_url,
|
||||
:image_url => image_url,
|
||||
:image_urls => image_urls,
|
||||
:page_url => page_url,
|
||||
:canonical_url => canonical_url,
|
||||
:normalized_for_artist_finder_url => normalize_for_artist_finder,
|
||||
:tags => tags,
|
||||
:translated_tags => translated_tags,
|
||||
|
||||
Reference in New Issue
Block a user