Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/usr/bin/env python3
- import urllib.request
- req = urllib.request.Request("http://www.wrh.noaa.gov/mesowest/getobextXml.php?sid=KFAT&num=1", headers = {"User-Agent" : "Mozilla/5.0"})
- xml = urllib.request.urlopen(req).read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement