Scrape canonical URLs for link topics
Canonical URLs seem to be desired by most users as they do not contain tracking parameters or other identifiable information in the topic's link. Most content providers have a canonical URL based on my research using DuckDuckGo's news aggregator.
original link from DuckDuckGo's news feed includes tracking parameters:
the page's source contains:
<link href="https://www.marketwatch.com/story/tesla-stock-soars-after-most-valuable-apology-of-all-time-but-profitability-questions-remain-2018-08-02" id="canonical-link" rel="canonical">
The scraper used in #171 (closed) could be expanded to include changing the submitted topic's link to the canonical URL, if a link with rel="canonical" is discovered.
A mobile link is posted - Another use case for this is when a user posts the mobile version of page. Most sites currently put the onus on the user to post the correct link, but this is easy automated:
<link rel="canonical" href="https://en.wikipedia.org/wiki/Jet_engine"/>
AMP links, especially ones to google’s CDN cache seem to be universally despised. The AMP standard requires a rel=“canonical” link tag as well. So these would also be converted.