This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Copyright (c) 2024. Ben Rott | |
--> | |
<div id="map" class="box" style="height: 500px;"> </div> | |
<link rel="stylesheet" href="/src/leaflet.css" | |
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" | |
crossorigin=""> | |
<script src="/src/leaflet.js" | |
integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og==" | |
crossorigin=""></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* FONTS */ | |
/* merriweather-sans-300 - latin_latin-ext */ | |
@font-face { | |
font-family: 'Merriweather Sans'; | |
font-style: normal; | |
/* font-display improves loading times */ | |
font-display: auto; | |
font-weight: 300; | |
src: url('/fonts/merriweather-sans-v10-latin_latin-ext-300.eot'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import pandas as pd | |
from geopy.geocoders import Nominatim | |
import datetime | |
print(datetime.datetime.now())#for logging reasons | |
geolocator = Nominatim(user_agent="fridaysforfuture.de/streiktermine map data generator") | |
url = 'https://fridaysforfuture.de/24mai/' | |
html = requests.get(url, verify=False).content | |
df_list = pd.read_html(html) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import pandas as pd | |
from geopy.geocoders import Nominatim | |
geolocator = Nominatim(user_agent="FridaysforFuture.de Streikkarte") | |
url = 'https://fridaysforfuture.de/streiktermine/' | |
html = requests.get(url).content | |
df_list = pd.read_html(html) | |
df = df_list[0] |