Turning off SSL verification on text importing.

This commit is contained in:
Samuel Clay 2013-07-10 17:03:12 -07:00
parent ee5c00bce5
commit f4abcc0ade

View file

@ -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)