File size: 541 Bytes
39fcbd1
764d206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39fcbd1
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from weasyprint import HTML
import streamlit as st
from transformers import pipeline
import datetime
import pandas as pd
from pathlib import Path

st.set_page_config(
    page_title="Impressum",
    layout="wide",
    initial_sidebar_state="expanded",
)

st.markdown("# Impressum")
st.sidebar.markdown("# Impressum")

url = "https://www.bbk.bund.de/DE/Das-BBK/Das-BBK-stellt-sich-vor/Das-deutsche-Bevoelkerungsschutzsystem/das-deutsche-bevoelkerungsschutzsystem_node.html" 

def res(url):
    HTML(url).write_pdf("sample.pdf")

    
res(url)