Skip to content

Instantly share code, notes, and snippets.

@swdevbali
Created November 1, 2021 09:30
Show Gist options
  • Save swdevbali/f8e5786fe1fb3c45a9bcc952d5fc47c7 to your computer and use it in GitHub Desktop.
Save swdevbali/f8e5786fe1fb3c45a9bcc952d5fc47c7 to your computer and use it in GitHub Desktop.
"""
This project will get the latest information about earthquake from bmkg.go.id
"""
author = 'Eko SW'
date = '1 November 2022'
url = 'https://www.bmkg.go.id/'
import requests
result = requests.get(url)
print(result.status_code)
print(result.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment