Skip to content

Commit 9cb3819

Browse files
committed
Make feedfinder not query made-up links unless explicitly asked
1 parent 5c946c8 commit 9cb3819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feedfinder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def feeds(uri, all=False):
264264
if all or not feeds:
265265
# look harder for feed links on another server
266266
feeds.extend(list(filter(isFeed, list(filter(isXMLRelatedLink, links)))))
267-
if all or not feeds:
267+
if all and not feeds:
268268
_debuglog('no A tags, guessing')
269269
suffixes = [ # filenames used by popular software:
270270
'atom.xml', # blogger, TypePad

0 commit comments

Comments
 (0)