Support xml starting with \s
This commit is contained in:
		@@ -343,7 +343,7 @@ def Fetch(url, options):
 | 
			
		||||
        log('itunes redirect: %s' % link)
 | 
			
		||||
        return Fetch(link, options)
 | 
			
		||||
 | 
			
		||||
    elif xml.startswith(b'<?xml') or contenttype in MIMETYPE['xml']:
 | 
			
		||||
    elif re.match(b'\s*<?xml', xml) is not None or contenttype in MIMETYPE['xml']:
 | 
			
		||||
        rss = feeds.parse(xml)
 | 
			
		||||
 | 
			
		||||
    elif feedify.supported(url):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user