From 1e03c3df55e060141ca3740c67d1aa79fbae52da Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 12 Sep 2018 15:16:08 -0600 Subject: [PATCH] Revert using Embedly to canonicalize link topics This isn't working very well in a lot of cases, shouldn't be used until I've got some workarounds for a lot of the issues that I'm finding. This reverts commit 369f273f8ed56c9c44ab0bc4b968319d60eb9110. --- tildes/consumers/topic_embedly_extractor.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tildes/consumers/topic_embedly_extractor.py b/tildes/consumers/topic_embedly_extractor.py index 5f1b8b9..68ca723 100644 --- a/tildes/consumers/topic_embedly_extractor.py +++ b/tildes/consumers/topic_embedly_extractor.py @@ -66,10 +66,6 @@ class TopicEmbedlyExtractor(PgsqlQueueConsumer): self.db_session.add(result) - # update the topic's link if embedly says the final url is different - if topic.link != result.data["url"]: - topic.link = result.data["url"] - new_metadata = EmbedlyScraper.get_metadata_from_result(result) if new_metadata: