feedparser
Advanced tools
Comparing version 2.2.5 to 2.2.6
2.2.6 / 2017-12-10 | ||
================== | ||
* Prioritize alternate links for item.link | ||
2.2.5 / 2017-12-09 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -793,3 +793,3 @@ /********************************************************************** | ||
if (link['@']['rel'] == 'canonical') item.origlink = link['@']['href']; | ||
if (link['@']['rel'] == 'alternate' && !item.link) item.link = link['@']['href']; | ||
if (link['@']['rel'] == 'alternate') item.link = link['@']['href']; | ||
if (link['@']['rel'] == 'self' && !item.link) item.link = link['@']['href']; | ||
@@ -817,3 +817,3 @@ if (link['@']['rel'] == 'replies') item.comments = link['@']['href']; | ||
if (el['@']['rel'] == 'canonical') item.origlink = el['@']['href']; | ||
if (el['@']['rel'] == 'alternate' && !item.link) item.link = el['@']['href']; | ||
if (el['@']['rel'] == 'alternate') item.link = el['@']['href']; | ||
if (el['@']['rel'] == 'self' && !item.link) item.link = el['@']['href']; | ||
@@ -820,0 +820,0 @@ if (el['@']['rel'] == 'replies') item.comments = el['@']['href']; |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "2.2.5", | ||
"version": "2.2.6", | ||
"keywords": [ | ||
@@ -11,0 +11,0 @@ "rss", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76554