mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Replace feed:// URLs with http:// when parsing download feeds
This commit is contained in:
parent
9345712d44
commit
ff7c39237a
@ -1019,6 +1019,8 @@ class BasicNewsRecipe(Recipe):
|
||||
title, url = None, obj
|
||||
else:
|
||||
title, url = obj
|
||||
if url.startswith('feed://'):
|
||||
url = 'http'+url[4:]
|
||||
self.report_progress(0, _('Fetching feed')+' %s...'%(title if title else url))
|
||||
try:
|
||||
with closing(self.browser.open(url)) as f:
|
||||
|
Loading…
x
Reference in New Issue
Block a user