Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text_Scraping klasöründeki script'ler çalışmıyor. #1

Open
seyfullah opened this issue Sep 6, 2020 · 0 comments
Open

Text_Scraping klasöründeki script'ler çalışmıyor. #1

seyfullah opened this issue Sep 6, 2020 · 0 comments

Comments

@seyfullah
Copy link

Merhaba,

Aşağıdaki script için aşağıdaki hata alınıyor.

(base) D:\AcikHack\github\AcikHack2-COVID-19-Uygulamasi\Text_Scraping>python linkten_metin_getir_Milliyet.py
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init_.py", line 1557, in conn_request
conn.connect()
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init
.py", line 1305, in connect
address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
File "D:\ProgramData\Anaconda3\lib\socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "linkten_metin_getir_Milliyet.py", line 71, in
status, req = http.request(url)
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init_.py", line 1994, in request
cachekey,
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init_.py", line 1651, in request
conn, request_uri, method, body, headers
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init
.py", line 1564, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.ServerNotFoundError: Unable to find the server at www.cnnturk.com%0a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant