일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Mac
- 900gle
- flask
- licence delete curl
- query
- Test
- docker
- Elasticsearch
- matplotlib
- high level client
- API
- aggs
- zip 파일 암호화
- token filter test
- aggregation
- springboot
- ELASTIC
- TensorFlow
- analyzer test
- MySQL
- License
- Kafka
- license delete
- Python
- zip 암호화
- plugin
- Java
- 파이썬
- sort
- 차트
Archives
- Today
- Total
목록2024/07/02 (1)
개발잡부
[python] URL 초당 200개 호출 (비동기)
import asyncioimport aiohttpimport timefrom urllib import parseimport urllib3import matplotlib.pyplot as pltimport numpy as npfrom time import sleepfrom datetime import datetime, timedeltaurllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)async def fetch(session, url): try: async with session.get(url, ssl=False, timeout=aiohttp.ClientTimeout(total=600)) as response: ..
카테고리 없음
2024. 7. 2. 17:52