mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Turning off SSL verification on text importing.
This commit is contained in:
parent
ee5c00bce5
commit
f4abcc0ade
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class TextImporter:
|
|||
}
|
||||
|
||||
def fetch(self, skip_save=False):
|
||||
html = requests.get(self.story.story_permalink, headers=self.headers)
|
||||
html = requests.get(self.story.story_permalink, headers=self.headers, verify=False)
|
||||
text = html.text
|
||||
if html.encoding != 'utf-8':
|
||||
text = text.encode(html.encoding)
|
||||
|
|
Loading…
Add table
Reference in a new issue