mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Ripping out SNI/openssl/requests latest. Turns out pyOpenSSL barfs on a ton of pages.
This commit is contained in:
parent
c26086b2f6
commit
177b8aea09
2 changed files with 2 additions and 5 deletions
|
@ -50,6 +50,7 @@ class PageImporter(object):
|
|||
's' if self.feed.num_subscribers != 1 else '',
|
||||
self.feed.permalink,
|
||||
),
|
||||
'Connection': 'close',
|
||||
}
|
||||
|
||||
@timelimit(15)
|
||||
|
@ -78,7 +79,6 @@ class PageImporter(object):
|
|||
else:
|
||||
try:
|
||||
response = requests.get(feed_link, headers=self.headers)
|
||||
response.connection.close()
|
||||
except requests.exceptions.TooManyRedirects:
|
||||
response = requests.get(feed_link)
|
||||
except (AttributeError, SocketError), e:
|
||||
|
|
|
@ -37,12 +37,9 @@ raven==3.1.17
|
|||
readline==6.2.4.1
|
||||
redis==2.8.0
|
||||
hiredis==0.1.1
|
||||
requests==2.2.1
|
||||
requests==1.1.0
|
||||
seacucumber==1.5
|
||||
South==0.7.6
|
||||
stripe==1.12.2
|
||||
django-oauth-toolkit==0.5.0
|
||||
django-cors-headers==0.12
|
||||
pyOpenSSL==0.14
|
||||
pyasn1==0.1.7
|
||||
ndg-httpsclient==0.3.2
|
||||
|
|
Loading…
Add table
Reference in a new issue