python


SSLError in Python, already tried verify = False


import requests
from bs4 import BeautifulSoup
res = requests.get("https://www.ptt.cc/bbs/NBA/index4807.html", verify
= False)
soup = BeautifulSoup(res.text,"lxml")
soup
SSLError Traceback (most recent call
last)
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-
packages/requests/packages/urllib3/connectionpool.py in urlopen(self,
method, url, body, headers, retries, redirect, assert_same_host,
timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
I tried to type "verify = False" but it seemed not useful.
I used juypter and created python3 project to run this code. My python version are 2.7.13 and 3.4.3, but I can only create python3 with juypter, and I can't import "requests" under the version of 2.7.13.

Related Links

How can I do maps involving string fields in rethinkdb?
Scrollbar not functioning properly Tkinter
Is there a way to quickly create many files many sequential files (ex1 . . . ex 50) in Python?
Pygame playing sound with pygame.mixer.music.load(file) gives NoneType error
How to update multiple values in Mongodb using pymongo?
Manually return an error result and status failure for a celery task?
Python backtrace from C++ embedded in Python
Find nth smallest element in numpy array [duplicate]
How to extract array from the first element of triples in 2d array of triples using numpy
Simulate user clicking in QSystemTrayIcon
Parsing GeoRSS feed with python scripting
User interface optimization when using pack
Selenium doesn't return after starting Chrome but returns after starting Firefox?
Python JSON decoding error TypeError: can't use a string pattern on a bytes-like object
Equivalent of \b word boundary in str.contains?
How to store django objects as session variables ( object is not JSON serializable)?

Categories

HOME
python
sql-server
pug
app-inventor
admin-on-rest
answer-set-programming
crate
freepascal
antivirus
thunderbird-addon
actionscript
cocos2d-x-3.0
mapbox-gl-js
triggers
internet-explorer-11
subquery
gimp
deeplearning4j
powershell-v3.0
getorgchart
outlook-web-addins
uiview
mod-pagespeed
cross-platform
bootstrap-popover
pyyaml
aptana
jsonserializer
clover
backpropagation
excel-2010
azure-servicebus-queues
jquery-waypoints
maximo
dss
jboss5.x
crt
piecewise
clockwork
hotmail
ifstream
geo
pmwiki
cgo
tango
homekit
worker
encapsulation
number-theory
windows-firewall
ti-basic
shutdown
jcreator
createobject
alter
packagemaker
audioqueue
software-product-lines
spoofing
spark-cassandra-connector
spring-repositories
console-redirect
concur
aerogear
xmp
anythingslider
hyperthreading
webhdfs
prezto
manjaro
ffprobe
crash-dumps
coypu
guzzle6
ctrlp
ejabberd-saas
start-job
x-ua-compatible
libssh2
lov
winrt-httpclient
dynamic-proxy
bsod
sqljdbc
fraud-prevention
xslkey
process-monitor
vt100
transitive-closure-table
zend-framework-modules
enumerators
scrollto
mpmovieplayer
xmlslurper
ninject-extensions
surf
galaxy-tab
rubycas
gethashcode
.app
msn
hardware-acceleration
osx-leopard
task-management
file-encodings
openwysiwyg
integer-promotion

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App