mirror of
https://github.com/MrUnknownDE/linux-script.git
synced 2026-04-22 08:13:52 +02:00
move corona_stats to archiv
This commit is contained in:
@@ -1,148 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en-US">
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<!--
|
|
||||||
This website is powered by TYPO3 - inspiring people to share!
|
|
||||||
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
|
|
||||||
TYPO3 is copyright 1998-2021 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
|
|
||||||
Information and contribution at https://typo3.org/
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/typo3conf/ext/mkkreisarchiv/Resources/Public/Images/Icons/favicon.ico" type="image/x-icon">
|
|
||||||
|
|
||||||
<meta name="generator" content="TYPO3 CMS" />
|
|
||||||
<meta name="viewport" content=" width=device-width, initial-scale=1.0" />
|
|
||||||
<meta name="twitter:card" content="summary" />
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/typo3conf/ext/mkkreisarchiv/Resources/Public/Css/Site.css?1608296033" media="all">
|
|
||||||
<link rel="stylesheet" type="text/css" href="/typo3conf/ext/mkkreisarchiv/Resources/Public/Css/Print.css?1608296033" media="print">
|
|
||||||
<link rel="stylesheet" type="text/css" href="/typo3conf/ext/mkkreisarchiv/Resources/Public/Css/Red.css?1608296033" media="all">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Seite nicht gefunden</title><script src="/typo3conf/ext/mkkreisarchiv/Resources/Public/JavaScript/jquery-3.2.1.min.js" type="text/javascript"></script>
|
|
||||||
<link rel="canonical" href="https://covid19.barnim.de/seite-nicht-gefunden"/>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body class="p1">
|
|
||||||
|
|
||||||
<div class="sr-only">
|
|
||||||
<h1>Title</h1>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="#nav-main">zur Hauptnavigation springen</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="#content">zum Inhalt springen</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="wrapper">
|
|
||||||
<div class="wing">
|
|
||||||
<a href="/" class="logo">Zur Startseite</a>
|
|
||||||
</div>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<header id="header">
|
|
||||||
<div class="navi-meta">
|
|
||||||
<div class="portals col-push-xs-5 col-push-sm-4 col-xs-3 col-sm-2 col-md-2"><div class="shadow"><span class="selected">Portale</span><span class="icon icon-barnim-aufklappen"></span><ul class="bg-p2 hide"><li class="icon-barnim-link-extern"><a href="https://afrikanische-schweinepest.barnim.de/" target="_blank">Afrikanische Schweinepest</a></li><li class="icon-barnim-link-extern"><a href="https://www.barnim.de/" target="_blank">Landkreis Barnim</a></li></ul></div></div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<nav class="clearfix">
|
|
||||||
<ul class="navbar-nav"><li class="col-xs-6 col-sm-4 col-md-2 bc-p1"><a href="/was-tun-im-verdachtsfall">Was tun im Verdachtsfall?</a></li><li class="col-xs-6 col-sm-4 col-md-2 bc-p1"><a href="/kontakte-beim-landkreis">Kontakte beim Landkreis</a></li><li class="col-xs-6 col-sm-4 col-md-2 bc-p1"><a href="/verordnungen-verfuegungen">Verordnungen & Verfügungen</a></li><li class="col-xs-6 col-sm-4 col-md-2 bc-p1"><a href="/unternehmen-arbeitnehmer">Unternehmen & Arbeitnehmer</a></li><li class="col-xs-6 col-sm-4 col-md-2 bc-p1"><a href="https://covid19.barnim.de/aktuelles">Presse & Meldungen</a></li><li class="col-xs-6 col-sm-4 col-md-2 bc-p1"><a href="/wichtige-verlinkungen">Wichtige & nützliche Links</a></li></ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="row bg-corner">
|
|
||||||
<div class="col-t-3 col-t-xxl col-s-all content">
|
|
||||||
<ul class="breadcrumb"><li><span class="icon-barnim-link-intern"></span>Seite nicht gefunden</li></ul>
|
|
||||||
<!--TYPO3SEARCH_begin-->
|
|
||||||
|
|
||||||
<!--TYPO3SEARCH_end-->
|
|
||||||
</div>
|
|
||||||
<div class="col-t-s2 sidebar">
|
|
||||||
<div>
|
|
||||||
<h3>Suchbegriff</h3>
|
|
||||||
<form id="sitesearch" class="searchform" method="get" action="/suche?tx__%5Bcontroller%5D=Standard&cHash=52a97cc55d3d5ddcbbefd92ba44df039">
|
|
||||||
<div class="row">
|
|
||||||
<fieldset class="term">
|
|
||||||
<div class="col-sm-12">
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
accesskey="S"
|
|
||||||
class="searchterm mkSearchTerm text input-textstyle"
|
|
||||||
placeholder="Ihr Suchbegriff …"
|
|
||||||
autocomplete="off"
|
|
||||||
name="mksearch[term]"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-12">
|
|
||||||
<div class="searchbutton">
|
|
||||||
<span class="icon-barnim-link-intern submit-button">
|
|
||||||
<input
|
|
||||||
class="search-submit submit"
|
|
||||||
name="mksearch[submit]"
|
|
||||||
value="Suchen"
|
|
||||||
type="submit"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-xs-12 navi-footer">
|
|
||||||
<ul>
|
|
||||||
<li class="up icon-barnim-nach-oben">
|
|
||||||
<a href="#">nach oben</a>
|
|
||||||
</li>
|
|
||||||
<li class="print icon-barnim-link-intern">
|
|
||||||
<a href="javascript:window.print()">Seite drucken</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="row bg-bottom_teaser">
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<footer class="row">
|
|
||||||
<ul><li><a href="/kontakt">Kontakt</a></li><li><a href="/impressum">Impressum</a></li><li><a href="https://www.barnim.de/datenschutz.html">Datenschutz</a></li><li><a href="/aktuelles">Aktuelles</a></li></ul><span class="copyright">© Landkreis Barnim 2021</span>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="hidden" id="overlay"></div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="/typo3conf/ext/mkkreisarchiv/Resources/Public/JavaScript/typeahead.jquery-0.11.1.js?1608296033" type="text/javascript"></script>
|
|
||||||
<script src="/typo3conf/ext/mkkreisarchiv/Resources/Public/JavaScript/bootstrap.min.js?1608296033" type="text/javascript"></script>
|
|
||||||
<script src="/typo3conf/ext/mkkreisarchiv/Resources/Public/JavaScript/jquery.fancybox.pack.js?1608296033" type="text/javascript"></script>
|
|
||||||
<script src="/typo3conf/ext/mkkreisarchiv/Resources/Public/JavaScript/Functions.js?1608296033" type="text/javascript"></script>
|
|
||||||
<script src="/typo3conf/ext/mkkreisarchiv/Resources/Public/JavaScript/Custom.js?1608296033" type="text/javascript"></script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
import sys
|
|
||||||
import PyPDF2
|
|
||||||
import pdfminer
|
|
||||||
import logging
|
|
||||||
import requests
|
|
||||||
import os
|
|
||||||
import os.path
|
|
||||||
import shutil
|
|
||||||
import urllib
|
|
||||||
import urllib.request
|
|
||||||
from datetime import date, timedelta
|
|
||||||
import re
|
|
||||||
import wget
|
|
||||||
|
|
||||||
today = date.today()
|
|
||||||
url = 'http://covid19.barnim.de/fileadmin/portal/corona/Lagebericht/2021/'
|
|
||||||
url_notice = 'http://covid19.barnim.de/fileadmin/portal/corona/Lagebericht/2021/{0}_Lagebericht_Corona-Homepage.pdf'.format(today)
|
|
||||||
r = requests.get(url, allow_redirects=True)
|
|
||||||
pdf = open('{0}_Lagebericht_Corona-Homepage.pdf'.format(today), "r")
|
|
||||||
|
|
||||||
print('Download Link: {0}'.format(url_notice))
|
|
||||||
|
|
||||||
print('Downloading ...')
|
|
||||||
if os.path.isfile('{0}_Lagebericht_Corona-Homepage.pdf'.format(today)):
|
|
||||||
print("File exist on local drive")
|
|
||||||
else:
|
|
||||||
open('{0}_Lagebericht_Corona-Homepage.pdf'.format(today), 'wb').write(r.content)
|
|
||||||
|
|
||||||
print('opeing ...')
|
|
||||||
print(pdf.read())
|
|
||||||
Reference in New Issue
Block a user