Simple scrape
This commit is contained in:
parent
5453d7e3ea
commit
9a2fd04059
8
server/nightr/scrape.py
Normal file
8
server/nightr/scrape.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import requests
|
||||
|
||||
def scrape_traffic():
|
||||
r = requests.get('https://portal.opendata.dk/api/3/action/datastore_search?resource_id=b3eeb0ff-c8a8-4824-99d6-e0a3747c8b0d')
|
||||
data = r.json()
|
||||
print(data)
|
||||
|
||||
scrape_traffic()
|
Loading…
Reference in New Issue
Block a user