Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- IntelliJ
- JSON
- truncated
- linearlaout
- Linux
- SetWindowTextW
- c++
- java.net.bindexception
- 이클립스 주석
- ds cloud
- clp 325wk
- synology
- SSL 인증서가 변경되었습니다
- cloud station
- windows terminal
- formatting failed
- 주석 숨김
- setonkeylistener
- MFC
- urllib3
- quickconnect
- audio station버그
- Wraith Spire
- 장치 데이터 오류
- 시놀로지 색인
- git
- Eclipse
- 라즈베리파이
- cloudstation
- github
Archives
- Today
- Total
목록python (2)
딸기스무디
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url:
Traceback (most recent call last): File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/telepot/__init__.py", line 1183, in get_from_telegram_server allowed_updates=allowed_upd) File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/telepot/__init__.py", line 1000, in getUpdates return self._api_request('getUpdates', _rectify(p)) File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/tel..
python
2020. 8. 10. 13:33
파이썬에서 rss로 xml파일 다운로드가 잘 안될떄
wget이나 requests로 url를 입력하면 다음과 같이 자바스크립트가 동작하며 xml를 제공하는 사이트가 가끔씩 있다. 이럴때는 헤더정보를 추가해주면 대부분 해결되는것 같다. headers = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750", 'Content-Type': 'application/json', "Cookie": ""} response = requests.get(url, headers=headers)
python
2020. 8. 10. 00:47