mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Remove space on substack replacement
Space is causing an invalid URL
This commit is contained in:
parent
723eabfc53
commit
b980f77bfc
@ -94,7 +94,7 @@ class Substack(BasicNewsRecipe):
|
|||||||
u = self.recipe_specific_options.get('auths')
|
u = self.recipe_specific_options.get('auths')
|
||||||
if u and isinstance(u, str):
|
if u and isinstance(u, str):
|
||||||
for x in u.split():
|
for x in u.split():
|
||||||
ans.append('https://' + x.replace('@', ' ') + '.substack.com/feed')
|
ans.append('https://' + x.replace('@', '') + '.substack.com/feed')
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
def preprocess_html(self, soup):
|
def preprocess_html(self, soup):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user