Changeset 1191:0db341c8c3b3 for src/mlx/web.py
- Timestamp:
- 05/30/25 17:37:04 (4 days ago)
- Branch:
- python3
- Phase:
- public
- Tags:
- tip
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/web.py
r1181 r1191 6 6 from . import rpccommon 7 7 8 from .common import MAVA_BASE_URL 8 from .common import MAVA_BASE_URL, sslContext 9 9 from .pirep import PIREP 10 10 … … 629 629 "cookie": "akamai_pilotweb_access=true;" 630 630 }); 631 f = urllib.request.urlopen(request, timeout = 10.0, cafile=certifi.where()) 631 f = urllib.request.urlopen(request, timeout = 10.0, 632 context = sslContext) 632 633 try: 633 634 data = f.read(16384) … … 666 667 try: 667 668 url += data 668 f = urllib.request.urlopen(url, timeout = 10.0, cafile = certifi.where()) 669 f = urllib.request.urlopen(url, timeout = 10.0, 670 context = sslContext) 669 671 try: 670 672 for line in f.readlines():
Note:
See TracChangeset
for help on using the changeset viewer.